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

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

Uploaded Source

File details

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

File metadata

  • Download URL: logging42-0.0.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.3

File hashes

Hashes for logging42-0.0.1.tar.gz
Algorithm Hash digest
SHA256 a29268a765071142b739635ab387d64f86d66b223a46c4cf43c7ed9de2d11127
MD5 bdb57554d180339cac1dfa7b6ab0e996
BLAKE2b-256 c7e951a2c0868511378399e0eb7c7cdd17f98e296933626833526959318c3345

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