Better console logging for Python.
Find us on PyPi: https://pypi.python.org/pypi/console-logging
- Python 2.6+ or Python 3.5+
termcolor
pip install console-logging
from console_logging import console
console.log("Hello World!")
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.")
For an exhaustive example, see tests/example.py
.
termcolor
module for colors