unixlog

Python program prints unix style logging on terminal


Keywords
pypi-package, python3
License
MIT
Install
pip install unixlog==0.0.2

Documentation

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'```