Skip to main content

Better, prettier commandline logging.

Project description

Better console logging for Python.

Demo of 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
console_logging-0.0.2-py2.py3-none-any.whl (3.7 kB) Copy SHA256 hash SHA256 Wheel py2.py3
console-logging-0.0.2.tar.gz (2.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page