Skip to main content

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


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.2.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

unixlog-0.0.2-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page