Skip to main content

omni:us python logging package

Project description

https://readthedocs.org/projects/reconplogger/badge/?version=stable https://codecov.io/gh/omni-us/reconplogger/branch/main/graph/badge.svg https://badge.fury.io/py/reconplogger.svg https://img.shields.io/badge/contributions-welcome-brightgreen.svg

reconplogger - omni:us python logger

Docs: https://reconplogger.readthedocs.io/ | Source: https://github.com/omni-us/reconplogger/

This repository contains the code of reconplogger, a python package intended to ease the standardization of logging within omni:us. The main design decision of reconplogger is to allow total freedom to reconfigure loggers without hard coding anything.

The package contains essentially the following things:

  • A default logging configuration.

  • A function for loading logging configuration for regular python code.

  • A function for loading logging configuration for flask-based microservices.

  • An inheritable class to add a logger property.

  • A context manager to set and get the correlation id.

  • Lower level functions for:

    • Loading logging configuration from any of: config file, environment variable, or default.

    • Replacing the handlers of an existing Logger object.

    • Function to add a file handler to a logger.

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

reconplogger-4.18.1.tar.gz (11.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

reconplogger-4.18.1-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file reconplogger-4.18.1.tar.gz.

File metadata

  • Download URL: reconplogger-4.18.1.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for reconplogger-4.18.1.tar.gz
Algorithm Hash digest
SHA256 d174b06f839b68f39833c2563014a6167043457f571721e0a3abe4e601f7dda1
MD5 f5a1cdb42c441773f4a749dc356da804
BLAKE2b-256 4d3bc4f10107716ba17ef129c074260170e14bfff2a9591e9b8290cd5c183257

See more details on using hashes here.

Provenance

The following attestation bundles were made for reconplogger-4.18.1.tar.gz:

Publisher: tests.yaml on omni-us/reconplogger

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file reconplogger-4.18.1-py3-none-any.whl.

File metadata

  • Download URL: reconplogger-4.18.1-py3-none-any.whl
  • Upload date:
  • Size: 12.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for reconplogger-4.18.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f7c1f17ba1259309a5576f197e487283d640f4e76010178e59d24ce2ba1389ad
MD5 f13e086e7244b61585318199987dfc8b
BLAKE2b-256 46c5e0e12923f03bffd830b78675b7b2aeac9e3936947339feb7dd6170d52232

See more details on using hashes here.

Provenance

The following attestation bundles were made for reconplogger-4.18.1-py3-none-any.whl:

Publisher: tests.yaml on omni-us/reconplogger

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page