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.1.tar.gz
(10.6 kB
view hashes)
Built Distribution
Close
Hashes for neuro_logging-24.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fd397758e649f3adf0d5e5ee25dd4764f066225f158af67f32c44ad9c9af46f |
|
MD5 | a6aa785a8db95e3d15107ed67b526081 |
|
BLAKE2b-256 | 8c4baa4d2c4cef2bcfc67a7d96b78c80d4dad27fab7ce41d118f305f24aeca7c |