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.1.tar.gz (19.0 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.1-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: square_logger-3.0.1.tar.gz
  • Upload date:
  • Size: 19.0 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.1.tar.gz
Algorithm Hash digest
SHA256 028a195346d568dcf247bacfdbabd51c1c7d4c27574b2d095dd539041bed7748
MD5 e7c539798920abc0b3ebc03697ee5717
BLAKE2b-256 9b113722c4923fe75b0ffec3c1d580862587e6dba95c715cea59b2e9d2229d95

See more details on using hashes here.

File details

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

File metadata

  • Download URL: square_logger-3.0.1-py3-none-any.whl
  • Upload date:
  • Size: 15.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a06dcebdb312b82eb9eae44dd5598ad79597eb4031d73f177a45beabf406a7c8
MD5 66ad1b819056d11dc4073dce58b3886a
BLAKE2b-256 ce80436db54910f3a1396d39acd969321d856e40e6e75259f1ddcff92b112cc5

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