https://github.com/gahjelle/logaroo
Bouncy logging for Python
https://github.com/gahjelle/logaroo
log logger logging python rich
Last synced: 5 months ago
JSON representation
Bouncy logging for Python
- Host: GitHub
- URL: https://github.com/gahjelle/logaroo
- Owner: gahjelle
- License: mit
- Created: 2025-08-27T15:44:41.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-08-27T17:45:05.000Z (10 months ago)
- Last Synced: 2025-08-28T01:26:49.859Z (10 months ago)
- Topics: log, logger, logging, python, rich
- Language: Python
- Homepage: https://pypi.org/project/logaroo/
- Size: 150 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Logaroo - Bouncy Logging in Python
[](https://pypi.org/project/logaroo/)
[](https://pypi.org/project/logaroo/)
[](https://github.com/gahjelle/logaroo/blob/main/LICENSE)
[](https://github.com/astral-sh/ruff)
[](https://github.com/gahjelle/logaroo/actions/workflows/lint.yml)
[](https://github.com/gahjelle/logaroo/actions/workflows/test.yml)
[](https://microsoft.github.io/pyright/)
Logaroo is a tiny logging package for Python designed to stay out of your way:
- Simply import the `logger` singleton from `logaroo` to get started
- Log with standard methods like `log.debug()`, `log.info()`, and `log.warning()`
- Set your severity level with `logger.level = ...` or `LOGAROO_LEVEL`
- Change the log mesage template with `logger.template = ...` or `LOGAROO_TEMPLATE`
- Add custom levels with `logger.add_level()`
- Interpolate log messages with `str.format()`, f-strings, or t-strings
- Get optional coloring of log messages with Rich, turn off with `NO_COLOR` or `LOGAROO_NO_RICH`