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.4.0.tar.gz
(10.7 kB
view hashes)
Built Distribution
Close
Hashes for neuro_logging-24.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8099c815432056d4bcc5945710c38a2fa69348d0a2e0225a2eba332550ce0c6 |
|
MD5 | f47a1aa99eba84a1713c2a2969231168 |
|
BLAKE2b-256 | c460ac84a657564d0f69d811648a295f350158182ed738e6794ad09d8b0f6378 |