Skip to main content

A configuration of the loguru logger

Project description

A configuration for the loguru (https://github.com/Delgan/loguru) logger.

It is important that it be the first import to run so the standard logging basicConfig method has an effect.

Features

  • Stderr output

  • intercepted logging from client libraries

  • Disabled better exceptions for log levels above debug to mitigate secret leaking

  • Configuration retriever which safely logs retrieved values

Installation

pip install logging42

Examples

main.py

from logging42 import logger

logger.debug('hello world)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

logging42-0.0.4rc1.tar.gz (5.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page