Logging client for Neu.ro platform services
Project description
Neuro Platform Logging
Usage:
from neuro_logging import init_logging
import 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 init_logging, DEFAULT_CONFIG
import 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-21.12.1.tar.gz
(12.5 kB
view hashes)
Built Distribution
Close
Hashes for neuro_logging-21.12.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fda7b82e5909d03fe8f78bb1d615801bc6039422449f7ef3ad8e67c749825032 |
|
MD5 | 383ecb97fd7c7619cf62656ad5574e73 |
|
BLAKE2b-256 | a82a1419b401298d7668f06034e74788db4f440bf10a5b2b2bd5b9b5966d3b2d |