Skip to main content

python logger for my personal use.

Project description

square_logger

📌 versioning: see CHANGELOG.md.

about

python logger for my personal use.

goals

  • standardized opinionated logging setup
  • improved readability
  • auto logging decorators
  • redaction support in auto logging
  • simple configuration

installation

pip install square_logger

usage

see USAGE.md or example.py.

note:

  • SquareLogger provides a full opinionated setup with file rotation, formatters, redaction, and auto_logger decorator.
  • SquareCustomLogger wraps any existing logging.Logger and adds the auto_logger decorator plus optional redaction without changing your original logger.

env

  • python>=3.12.0

feedback is appreciated. thank you!

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

square_logger-3.0.2.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

square_logger-3.0.2-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file square_logger-3.0.2.tar.gz.

File metadata

  • Download URL: square_logger-3.0.2.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.5

File hashes

Hashes for square_logger-3.0.2.tar.gz
Algorithm Hash digest
SHA256 0878f030ea7aa6992c778b71e5b6239ee256907e2ab2e0cff08ed0ab69e274c2
MD5 ec3e073ee24c1e32c31dfd09dfd6707a
BLAKE2b-256 da5069a81271c19a96d863425dc3a754e5b05768c5b145ed86ba00e9ecfd8082

See more details on using hashes here.

File details

Details for the file square_logger-3.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for square_logger-3.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d0f3650da450d03576dafa5b95d75cf39eb3a5c6c5076d8bfa2b6063a8b43a4f
MD5 6def06ba10ae7f3d48bf29cc513db6fb
BLAKE2b-256 5419e36a680da541b4ecaa444039aafce43c42ea521632893e792e8a5fd0530d

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