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.4.tar.gz (3.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.4-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: square_logger-3.0.4.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.20 {"installer":{"name":"uv","version":"0.11.20","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for square_logger-3.0.4.tar.gz
Algorithm Hash digest
SHA256 4f95bcc5ef913b573751671e6b7061d5bb581c6be19bb85c88f9d2c07438f36c
MD5 01fd36b9dd4304111c8c54333d736816
BLAKE2b-256 2b82f4e9b4fd5188669de23a2ade0d793838d899a6810a8d7011cbf97cc534c3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: square_logger-3.0.4-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.20 {"installer":{"name":"uv","version":"0.11.20","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for square_logger-3.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 43974568e28ffae609e231eadcbc8847d5eba89faa71372baedf6f13bacbac34
MD5 881528f307b72764cc0d0375ab6a4992
BLAKE2b-256 0f69a0065e5aa5c7f54a0a7ed5b50897e7d3b9f9ae0054c96462731d3b0e54f0

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