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.5rc2.tar.gz (6.0 kB view details)

Uploaded Source

File details

Details for the file logging42-0.0.5rc2.tar.gz.

File metadata

  • Download URL: logging42-0.0.5rc2.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for logging42-0.0.5rc2.tar.gz
Algorithm Hash digest
SHA256 bb3644561d95c214528081cd8c98b89d534e0d9ba37a702e565ff03846afb8ab
MD5 5b47d1087c460e6952befa4789c6cfc5
BLAKE2b-256 1c013a0ff21c98220bc584acf5a26e80bf4fc3ac7a470ac0cbd68e6f2915b332

See more details on using hashes here.

Provenance

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