Skip to content

A simple colorful wrapper around `logger` from Python Standard Library with no dependencies.

License

Notifications You must be signed in to change notification settings

nullscry/cologs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cologs

Build Status PyPI Version

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

cologs output as seen in terminal.

Log File

cologs output as seen in logs/cologs.log file.

About

A simple colorful wrapper around `logger` from Python Standard Library with no dependencies.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages