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

Uploaded Source

File details

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

File metadata

  • Download URL: logging42-0.0.3rc1.tar.gz
  • Upload date:
  • Size: 5.0 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.3rc1.tar.gz
Algorithm Hash digest
SHA256 747aed0f9425480d053d68fdd9c2f2ac47d0ef146592207b9b0b1f86414a8e6f
MD5 2eb6351b8827289c7f8a89b9f2851700
BLAKE2b-256 ee87958063461e727dfac69f6a1d3b6277197cdb7b58d375e7246985dbe8d9f9

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