Skip to main content

Better, prettier commandline logging.

Project description

# console-logging

Better console logging for Python.

![Showcase](https://github.com/pshah123/console-logging/raw/master/images/example.png "Demo of console-logging")

## 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.

Source Distribution

console-logging-0.0.1.tar.gz (2.5 kB view hashes)

Uploaded Source

Built Distribution

console_logging-0.0.1-py2.py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page