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.2.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.2.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zcy_loguru-0.2.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.2.0.tar.gz
Algorithm Hash digest
SHA256 3a1d2ee885a80fe233fd94a9454d7be3203b23fe5e1d5ef2034639c1f9643910
MD5 97f2b83030f8882526aaed35956428b6
BLAKE2b-256 1ef9d4e809b1224985158374a430d5533f5168d5e999d2ac3585f096acb9d9b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zcy_loguru-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0125cba7973908bea89e0f8bd9d582073855c151e36578bef903d608362b1de7
MD5 e2a227d3580ce8b075bd74cdf6b78550
BLAKE2b-256 d1e05054655fa2eb77a7f784974c542df0ee4e4b8f5c1721a38cbd39dc1ec698

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