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.3.0.tar.gz
(10.7 kB
view hashes)
Built Distribution
Close
Hashes for neuro_logging-24.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc04942b2ee291f9424f8f900e0063c7233dac8372220c9e24393f491512958b |
|
MD5 | f5b48aba5939b9e15324d195d56c956b |
|
BLAKE2b-256 | bb41c38142bfaee448f2179067ab940b9d694fc6756d9b59e9dc369b6e2e8e68 |