Metadata-Version: 2.1
Name: loggext
Version: 0.1.0
Summary: logging extensions for pythons logging library
Home-page: https://github.com/utility-libraries/loggext-py
Author: PlayerG9
License: GPLv3
Project-URL: Author Github, https://github.com/PlayerG9
Project-URL: Homepage, https://github.com/utility-libraries/loggext-py
Project-URL: Documentation, https://utility-libraries.github.io/loggext-py/
Project-URL: Bug Tracker, https://github.com/PlayerG9/loggext-py/issues
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Utilities
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: all

# loggext-py
logging extensions for pythons logging library

<!-- TOC -->
* [loggext-py](#loggext-py)
  * [Installation](#installation)
  * [Usage](#usage)
<!-- TOC -->

## Installation

```shell
pip install loggext
```

## Usage

```python
import logging
from loggext.decorators import add_logging

logging.basicConfig(level=logging.NOTSET)

@add_logging()
def myfn(arg):
    ...  # stuff

myfn("value")
# DEBUG:root:<function myfn at 0x7f06a6cc3400> was called with ('value')
# DEBUG:root:<function myfn at 0x7f06a6cc3400> returned None after 65μs+614ns
```
