aljabadi / logster

Easy python console logging with colourful formatting

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

logster - python logging made easy

installation

python3 -m pip install logster

usage

from logster import setup_logger

logger = setup_logger(name="rogue-app", level="DEBUG")

logger.debug("This is a debugging message")
logger.info("This is an information message")
logger.warning("This is a warning message")
logger.error("This is an error message")
logger.critical("This is a critical message, we're past just adding another #TODO")

credits

About

Easy python console logging with colourful formatting

License:MIT License


Languages

Language:Python 83.7%Language:Shell 16.3%