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

Uploaded Source

File details

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

File metadata

  • Download URL: logging42-0.0.3.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for logging42-0.0.3.tar.gz
Algorithm Hash digest
SHA256 c645fe97bd8677011b45ba03ad1e914d4ee57dcda18776aceb6bf16778291916
MD5 67ee738ed1d33a39936494e152a9cff6
BLAKE2b-256 12dc031a681e03750aedba15812cc9e6d5925321704b85a37d8e632f3ec143ce

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