Configuration support for DKIST services
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
Built Distribution
File details
Details for the file dkist-service-configuration-1.0.0rc2.tar.gz
.
File metadata
- Download URL: dkist-service-configuration-1.0.0rc2.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6a48caa94c6aea73a45dcf20b7c372185dce762ab2400ffa22757ddeaeb398b |
|
MD5 | da5c9bfb93f4b70b9f4ab412ab3b71bf |
|
BLAKE2b-256 | 751bdafaf5de68ef76e2c10a31b87a500eac385765a3733dc06be9464b39ea44 |
Provenance
File details
Details for the file dkist_service_configuration-1.0.0rc2-py3-none-any.whl
.
File metadata
- Download URL: dkist_service_configuration-1.0.0rc2-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 123c71c7de715296f7cb265b2e347a01f64771cd34316554dbdfc1e521da75ab |
|
MD5 | c726b6a9576e98fee10944b7d6a8698c |
|
BLAKE2b-256 | a509b611824cd8ad67bb4b8fb95c229f5e8be3aaa40b59b51db6918a448be828 |