Colorful and Simple Logger: cologs
Project description
cologs
A simple colorful wrapper around logger
from Python Standard Library with no dependencies. cologs sends its colorful output both to the terminal and into logs/cologs.log. The cologs.log file is rotated inside the logs folder when it gets large enough.
Installation
pip install cologs
Usage
from cologs import get_cologs
cologs = get_cologs()
cologs.debug("Debug message")
cologs.info("Info message")
cologs.warning("Warning message")
cologs.error("Error message")
cologs.critical("Critical message")
STDOUT
Log File
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cologs-0.2.tar.gz
(190.6 kB
view hashes)
Built Distribution
cologs-0.2-py2.py3-none-any.whl
(13.5 kB
view hashes)