Last updated:
0 purchases
loggext 0.1.0
loggext-py
logging extensions for pythons logging library
loggext-py
Installation
Usage
Installation
pip install loggext
Usage
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
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.