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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 2Python 3

File details

Details for the file console-logging-0.0.1.tar.gz.

File metadata

File hashes

Hashes for console-logging-0.0.1.tar.gz
Algorithm Hash digest
SHA256 9638a77bdcb4a2f883eda4200db64fb5845b2a51ecdb3a28f15ae56b94414f2c
MD5 2a3baa1f46e12934337d2b653916a9ab
BLAKE2b-256 18663806fc0b5e4750fe3b15882f928345f8047bcab8dad3fac53440fb63fe11

See more details on using hashes here.

File details

Details for the file console_logging-0.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for console_logging-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1e4fa54dec819f0c22aaa72e3bdfb115ddb91c6e347a4da95dc17c6e80d0b469
MD5 302bd61e8897dfcb5cbea83c7992f793
BLAKE2b-256 689452a090feea918b4aef94b2aebae0866a2d8f53d84fe1bc9bedf70f9e63ce

See more details on using hashes here.

Supported by

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