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.3.0.tar.gz (5.1 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.3.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for zcy_loguru-0.3.0.tar.gz
Algorithm Hash digest
SHA256 b8ed55786d4db1151b296520697b3535733ba2d63a1cf2cc9c54bc4e97b502c3
MD5 3952c4b6e56f23f47002ec69c0882b56
BLAKE2b-256 ab75acb1bb3d7c93e44179fd4f1606a2e088adda5a943d1e1002b0ab9e0d9eff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zcy_loguru-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2580aa2107c2f6ed5c5798e522c2cef1bb0338bfd08acb0601931597677cf44d
MD5 f70ca96562d070e1363053f88b8739f8
BLAKE2b-256 6a94731393c74426b4e6c5c10e19e5dcc998719a786eae03bb640a12bb27a0d1

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