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.0.tar.gz (17.6 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.0-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: square_logger-3.0.0.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for square_logger-3.0.0.tar.gz
Algorithm Hash digest
SHA256 c324a3cbc21ab8be6c85c4eb0f6b9662f099bd34a7497ea047695e442bb5656c
MD5 f4d25cb35dd6cf65f4eab31816f81a81
BLAKE2b-256 17b1ea3a9ebea1dd7ed4d77cf02193c2b10876170bae4150543c4c282888029b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: square_logger-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for square_logger-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f0edb6903851cf4301e1b0cb2aafa3cae3686bc7ad1a767408d71771aa9279fc
MD5 32dab82c8c4f63582531a736a0639dbc
BLAKE2b-256 0d3f32a1e6e01c1ccf7ab6acd8394127970f973d4bf6a7300ad1402041e0f643

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