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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e06b10a5c23727cea20f173448c149beba541f986e7c1bd60caa21699a9dc02 |
|
MD5 | 79efafcceb1c703e090b41840ec8db69 |
|
BLAKE2b-256 | 2daaae76f84f0b9f05ac4cbf9d2ba206b24f6be4b83f53c70627c2a25af8578e |
Close
Hashes for logging_utils_tddschn-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e0c17dbf6e38ec05058335c316705b62aac5ea9b8526f7905e1c62996c1e232 |
|
MD5 | 052ee48b66ef317bb3c36f5e564ed85b |
|
BLAKE2b-256 | 2de4cd0190980cbfea105e295003b61bfa8aa8a41accc115d84967a889f92728 |