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.8.tar.gz (6.2 kB view details)

Uploaded Source

File details

Details for the file logging42-0.0.8.tar.gz.

File metadata

  • Download URL: logging42-0.0.8.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for logging42-0.0.8.tar.gz
Algorithm Hash digest
SHA256 1eba3bea5453b422433431b61d351c1cbd5e49b37d3546ff3d067a7f637a5b51
MD5 302fc01cc08c2f721ce3cad92bc2493b
BLAKE2b-256 16bd2886c476b739e9acc50f896803eaf46042bbb033d0dd2335b389b0e76eaf

See more details on using hashes here.

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