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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file logging-utils-tddschn-0.1.7.tar.gz.
File metadata
- Download URL: logging-utils-tddschn-0.1.7.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.2 Darwin/21.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26ad16b2ac2ee4f17d181e0ff26df2872d3f2bedace142ead83ccaae8d34800d
|
|
| MD5 |
4d44df54478f0d0a142f31f470c4fbcf
|
|
| BLAKE2b-256 |
12486d4dfa4aa0fa34abbb095461092e66c7cee45870f4e8c63724914917505b
|
File details
Details for the file logging_utils_tddschn-0.1.7-py3-none-any.whl.
File metadata
- Download URL: logging_utils_tddschn-0.1.7-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.2 Darwin/21.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
158bcff7b6f3f26f8580b7ea56c0f8bd78ddf80c5592e6deab546ec30c030fe3
|
|
| MD5 |
f6bc272f5cb1b531bfd32bc250fe2482
|
|
| BLAKE2b-256 |
dfd08c0f7fb78c7d033d0cdce59a35a31bfdc5160412da323b07aad596c35b3f
|