Skip to content

gahjelle/logaroo

Repository files navigation

Logaroo - Bouncy Logging in Python

Latest version Python versions License Ruff Linted with Ruff Tested with Pytest Type checked with 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