Skip to main content

Unified Loguru logging helpers with standard logging interception and trace context support.

Project description

zcy-loguru

zcy-loguru provides a small wrapper around loguru for structured logging, standard library logging interception, and trace/span propagation.

Install

pip install zcy-loguru

Install optional OpenTelemetry support with:

pip install "zcy-loguru[otel]"

Usage

from zcy_logger import init_logging, logger

init_logging()
logger.info("hello")

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

zcy_loguru-0.1.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

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

zcy_loguru-0.1.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file zcy_loguru-0.1.0.tar.gz.

File metadata

  • Download URL: zcy_loguru-0.1.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.3

File hashes

Hashes for zcy_loguru-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e7a63f15110e1bd7610086da31c1a8a84c7ee51cff2bc1f9d44308bf63e524ae
MD5 4fc9ceeacfff4e91e598752f5e5f2879
BLAKE2b-256 f90682ffeb32e5e21acecbde81cdd62cf1eddf6524b86ffd0ac99ca65c65f386

See more details on using hashes here.

File details

Details for the file zcy_loguru-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for zcy_loguru-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 717818dcd6cefe99ff69362d7a22691b39a27aa7de1791ca8745227749246523
MD5 e5dea69ad49a1fdeb767b112a495810e
BLAKE2b-256 52c96a4dd946ab09e03c973939be09e214a1d0c08e962ff72a1be408760cb9ae

See more details on using hashes here.

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