Last updated:
0 purchases
prittylogger 0.2.4
Pritty logger
A simple logger that logs to console using the rich library and to file in /var/log. Created to simplify setting up logging in containerized development and deployment.
Installation
pip install pritty_logger
Usage
from pritty_logger import RichLogger
logger = RichLogger("example")
logger.log("This is an info message")
logger.log({"key": "value"}, level="debug")
Supports levels "debug", "info", "warning", "error", "critical". Defaults to "info".
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.