Metadata-Version: 2.4
Name: logaroo
Version: 0.2.2
Summary: Bouncy logging for Python
Keywords: logging
Author: Geir Arne Hjelle
Author-email: Geir Arne Hjelle <geirarne@gmail.com>
License-Expression: MIT
License-File: LICENSE
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Typing :: Typed
Requires-Dist: rich>=14.1.0 ; extra == 'rich'
Maintainer: Geir Arne Hjelle
Maintainer-email: Geir Arne Hjelle <geirarne@gmail.com>
Requires-Python: >=3.11
Project-URL: changelog, https://github.com/gahjelle/logaroo/releases
Project-URL: github, https://github.com/gahjelle/logaroo
Project-URL: homepage, https://github.com/gahjelle/logaroo
Project-URL: issues, https://github.com/gahjelle/logaroo/issues
Provides-Extra: rich
Description-Content-Type: text/markdown

# Logaroo - Bouncy Logging in Python

[![Latest version](https://img.shields.io/pypi/v/logaroo.svg)](https://pypi.org/project/logaroo/)
[![Python versions](https://img.shields.io/pypi/pyversions/logaroo.svg)](https://pypi.org/project/logaroo/)
[![License](https://img.shields.io/pypi/l/logaroo.svg)](https://github.com/gahjelle/logaroo/blob/main/LICENSE)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
[![Linted with Ruff](https://github.com/gahjelle/logaroo/actions/workflows/lint.yml/badge.svg?branch=main)](https://github.com/gahjelle/logaroo/actions/workflows/lint.yml)
[![Tested with Pytest](https://github.com/gahjelle/logaroo/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/gahjelle/logaroo/actions/workflows/test.yml)
[![Type checked with pyright](https://microsoft.github.io/pyright/img/pyright_badge.svg)](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`
