Better, prettier commandline logging.
Project description
Better console logging for Python.
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
console-logging-0.0.2.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for console_logging-0.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 390e7e6c01bf251dc699b9df8209277f8bf3cb14a29b58cefeef5078f513e431 |
|
MD5 | 061df5541623a9780df9b7b7f79e900a |
|
BLAKE2b-256 | ad32fc511d499cb81d5dc3dea52fd1d8c3c941fd45c198367675069ce9a2f059 |