Python program prints unix style logging on terminal
Project description
A simple unix style logging in color format. Light weight library for Color formating.
Features
- Include warning, error, info, debug, success, trace
- Light weight import
- unix style format
Installation
pip install unixlog
Examples
>>> from unixlog import error, warning, info, success, trace, debug
>>> print(error("This error text"))
[ ERROR ] This error text
>>> error("This error text")
'\x1b[91m[ ERROR ] This error text\x1b[0m'
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
unixlog-0.0.1.tar.gz
(2.8 kB
view hashes)