Metadata-Version: 2.3
Name: square-logger
Version: 3.0.2
Summary: python logger for my personal use.
Keywords: logger,utilities
Author: Parth Mukesh Mangtani, Amish Palkar
Author-email: Parth Mukesh Mangtani <thepmsquare@gmail.com>, Amish Palkar <amishpalkar302001@gmail.com>
License: GPLv3
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Utilities
Classifier: Topic :: System :: Logging
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: pydantic>=2.5.3
Requires-Dist: pytest>=8.0.0 ; extra == 'test'
Requires-Dist: pytest-asyncio>=1.2.0 ; extra == 'test'
Requires-Python: >=3.12
Project-URL: homepage, https://github.com/thepmsquare/square_logger
Provides-Extra: test
Description-Content-Type: text/markdown

# square_logger

> 📌 versioning: see [CHANGELOG.md](./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

```shell
pip install square_logger
```

## usage

see [USAGE.md](./USAGE.md) or [example.py](./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!