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.
Metadata
Release files for logging-utils-tddschn 0.1.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| logging-utils-tddschn-0.1.10.tar.gz | 3.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| logging_utils_tddschn-0.1.10-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.4 kB
Release files / logging-utils-tddschn-0.1.10.tar.gz
| Download URL | logging-utils-tddschn-0.1.10.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1195d1b33280b4ad9fd46935e80bd832943231ed427dfed464a3f8131261a136
|
|
BLAKE2b-256 checksum How to use checksums |
07bb208df1def79c2160c1b27196e50dc797b773b4e974cd07ddddfec8992f05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.0b1 CPython/3.10.4 Darwin/21.5.0
|
Release files / logging_utils_tddschn-0.1.10-py3-none-any.whl
| Download URL | logging_utils_tddschn-0.1.10-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bd0721f9c98ce71d41511f00f9fd77b0ad410090e3d50bc052db5f0f3ecd0598
|
|
BLAKE2b-256 checksum How to use checksums |
e61fe3a1c39e3acad2df4f3321adb56342dab4ffdf71308f254269d6573128da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.0b1 CPython/3.10.4 Darwin/21.5.0
|