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 details)
Built Distribution
File details
Details for the file neuro-logging-24.4.0.tar.gz
.
File metadata
- Download URL: neuro-logging-24.4.0.tar.gz
- Upload date:
- Size: 10.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d314997abc3b6b3df2c4bcf2b0cfef4d211c11294f88b62634b8f1d530d176ea |
|
MD5 | 88b02a5acf6f79955202af8d72c81e30 |
|
BLAKE2b-256 | ecdb2aec34e2efe491cbb72a8b89115a152ae06a0357d4cf0a05c6604157fb75 |
File details
Details for the file neuro_logging-24.4.0-py3-none-any.whl
.
File metadata
- Download URL: neuro_logging-24.4.0-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8099c815432056d4bcc5945710c38a2fa69348d0a2e0225a2eba332550ce0c6 |
|
MD5 | f47a1aa99eba84a1713c2a2969231168 |
|
BLAKE2b-256 | c460ac84a657564d0f69d811648a295f350158182ed738e6794ad09d8b0f6378 |