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

Uploaded Source

File details

Details for the file logging42-0.0.2rc1.tar.gz.

File metadata

  • Download URL: logging42-0.0.2rc1.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.2rc1.tar.gz
Algorithm Hash digest
SHA256 e64d9874d8789743018ffbfebc8b2b311cb31bff1e461daa4b23165cd434b00e
MD5 371c91cc89ab1524e17b9b7602bf027b
BLAKE2b-256 c653b663100bad6e1db798135358d3d3a9fcbbf861c7e353a47f4466f8fdc0ca

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