pritty-logger 0.2.4

Last updated:

0 purchases

pritty-logger 0.2.4 Image
pritty-logger 0.2.4 Images
Add to Cart

Description:

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".

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.