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
Release history Release notifications | RSS feed
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.3.tar.gz
(2.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file square_logger-3.0.3.tar.gz.
File metadata
- Download URL: square_logger-3.0.3.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cad97dfc4d8a643d9f2b536145e7492ea65fd5c0cf1fed8f01b1afe359a02bf6
|
|
| MD5 |
993deb8172f01d469bda3d24d300bbe0
|
|
| BLAKE2b-256 |
2f05cf9eaae66a1ae92a7f235240ee05f5ce749be2ad275d617c6a3f01e6781b
|
File details
Details for the file square_logger-3.0.3-py3-none-any.whl.
File metadata
- Download URL: square_logger-3.0.3-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e03756c7ad81bfe4b3f4a267886e7debc1820270c1ef557419955683bfcfa62
|
|
| MD5 |
ae07b03641b58f69b50062e743ad6af6
|
|
| BLAKE2b-256 |
fed46ae746608462ae9ccb92fd9b0a48fae39f54f71ab1e772179e6b00c67474
|