Skip to content

Python utility to print Unix style logging on terminal

License

Notifications You must be signed in to change notification settings

raahoolkumeriya/unixlog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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


>>> print(error("This error text"))

[  ERROR  ] This error text

>>> error("This error text")

'\x1b[91m[  ERROR  ] This error text\x1b[0m'```