You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

neuro-logging

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

neuro-logging

Logging client for Neu.ro platform services

25.1.0
PyPI
Maintainers
2

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)

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts