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
File details
Details for the file logging-utils-tddschn-0.1.10.tar.gz
.
File metadata
- Download URL: logging-utils-tddschn-0.1.10.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0b1 CPython/3.10.4 Darwin/21.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1195d1b33280b4ad9fd46935e80bd832943231ed427dfed464a3f8131261a136 |
|
MD5 | cb83ab058a6353546e1ca1a24b099384 |
|
BLAKE2b-256 | 07bb208df1def79c2160c1b27196e50dc797b773b4e974cd07ddddfec8992f05 |
File details
Details for the file logging_utils_tddschn-0.1.10-py3-none-any.whl
.
File metadata
- Download URL: logging_utils_tddschn-0.1.10-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0b1 CPython/3.10.4 Darwin/21.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd0721f9c98ce71d41511f00f9fd77b0ad410090e3d50bc052db5f0f3ecd0598 |
|
MD5 | 5bd0dca1d62a89caabfeee13e3b9c4e3 |
|
BLAKE2b-256 | e61fe3a1c39e3acad2df4f3321adb56342dab4ffdf71308f254269d6573128da |