Logging client for Neu.ro platform services
Project description
Neuro Platform Logging
Usage:
import logging
from neuro_logging import init_logging
init_logging()
logging.info("Some info")
By default init_logging()
will forward all errors
and critical
messages to stderr
. All other type of messages will be forwarded to stdout
.
You can pass own dict-based config with custom setting i.e. for disable warning in asyncio and concurrent
from neuro_logging import DEFAULT_CONFIG, init_logging
custom_config = dict(DEFAULT_CONFIG)
custom_config.update(
{"loggers": {"asyncio": {"level": "ERROR"}, "concurrent": {"level": "ERROR"}}}
)
init_logging(custom_config)
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
neuro-logging-24.2.0.tar.gz
(10.6 kB
view hashes)
Built Distribution
Close
Hashes for neuro_logging-24.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c165addaf7f508e7c2e8c39db152da01b35c332eecb601729778083a42507ee |
|
MD5 | 72b7d721ef0cca14ec40687f18ee5256 |
|
BLAKE2b-256 | da42104be111d8e80ba835d621bba279ad82e8c53a566fd074f01b22acb11d1f |