Command line interface logging.
Project description
Command Line Interface
This python module is used to make your command line / terminal more fancy when printing / logging certain events.
Quick install
pip install cli-log
Examples
import cli
cli.info("Hello world!\nInfo event.")
cli.debug("Debug event.")
cli.warn(prefix="CORE", message="Warning event.")
cli.error("Error event.")
[16:30:52 / INFO] Hello world!
[16:30:52 / INFO] Info event.
[16:30:52 / DEBUG] Debug event.
[16:30:52 / WARN][CORE] Warning event.
[16:30:52 / ERROR] Error event.
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
cli-log-0.2.tar.gz
(3.4 kB
view hashes)