A configuration of the loguru logger
Project description
A configuration for the loguru (https://github.com/Delgan/loguru) logger.
It is important that it be the first import to run so the standard logging basicConfig method has an effect.
Features
Stderr output
intercepted logging from client libraries
Disabled better exceptions for log levels above debug to mitigate secret leaking
Configuration retriever which safely logs retrieved values
Installation
pip install logging42
Examples
main.py
from logging42 import logger
logger.debug('hello world)
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
logging42-0.0.7.tar.gz
(6.2 kB
view details)
File details
Details for the file logging42-0.0.7.tar.gz
.
File metadata
- Download URL: logging42-0.0.7.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8690f0a50f07e5561daafbf31def4eefe155fea9009cff5d8495c228721daa1 |
|
MD5 | 906127e4ea28eaedb0512f0f49d5fc11 |
|
BLAKE2b-256 | b18647e2b9cb3830c8c0f548d77618a422722035abf9cd5db88dcc855fba55e8 |