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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0bea9d28a6b3976e37d13765a64e59da2c1663f42e8c22b098ef994e4c9d7a74 |
|
MD5 | 9c25859eea857f45ce615eb189b55c1d |
|
BLAKE2b-256 | b40a6a3a42b434d3bd7c57e8ce618f742df833f078fb4d10ab8a62215c61dfdf |
Close
Hashes for logging_utils_tddschn-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd5e9c4792087edcf04bd2e10fef1e2edbbe68df530a3ba4ee7df1eaa991f191 |
|
MD5 | ccbe37b594cb6b6a7d293d8cfcaca4f7 |
|
BLAKE2b-256 | 2bae3b4c143018bb6abb33b6710d1ec27e30683edd8bed6a79165b7a26dd92e1 |