Skip to content

Better, prettier commandline logging for Python.

Notifications You must be signed in to change notification settings

lyrl/console-logging

 
 

Repository files navigation

console-logging

Better console logging for Python.

Find us on PyPi: https://pypi.python.org/pypi/console-logging

Showcase

Getting Started

Dependencies

  • Python 2.6+ or Python 3.5+
  • termcolor

Installation

pip install console-logging

Usage

from console_logging import console

console.log("Hello World!")

Exhaustive Reference

console.log("This is a log.")
console.error("This is an error.")
console.info("This is some neutral info.")
console.success("This is a success message.")

Example

For an exhaustive example, see tests/example.py.

Credit

  • termcolor module for colors

About

Better, prettier commandline logging for Python.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%