Logging utilities for personal use.
Project description
logging-utils-tddschn
Logging utilities for personal use.
Install
$ pip install logging-utils-tddschn
Example Usage
get_logger
Check the source code linked above to learn more about the arguments.
from logging_utils_tddschn import get_logger
logger, _ = get_logger(__name__)
logger.info('Logging from logging-utils-tddschn!')
_DEBUG=1 python3 app.py
# prints something like
# INFO:tests.test_utils_naive:/Users/tddschn/app.py:5:my_func:Logging from logging-utils-tddschn!
# logging is turned off (sent to NullHandler) if you don't set env var _DEBUG or it's set to false.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for logging-utils-tddschn-0.1.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4db49164ce3273ee7044c3f50672e5d59485a2c11cf817314d713aef01f1520d |
|
MD5 | 27823bf89f3d3b5af49038c37c6c06be |
|
BLAKE2b-256 | 03b29851487f756fd5afc8ef192f2b85408c8be9f38c5b207651e6f505d9d814 |
Close
Hashes for logging_utils_tddschn-0.1.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80ef55890287a38591fc32beddee73c24420d97166bf878bf425d0db737a5a76 |
|
MD5 | 64a1250bddea4d07353156b73256d76b |
|
BLAKE2b-256 | 6b81ab1f30ee6768f0dd41de847f3749316a190f1acfc9700cbf4b66f500da32 |