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
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
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.1.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for console_logging-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e4fa54dec819f0c22aaa72e3bdfb115ddb91c6e347a4da95dc17c6e80d0b469 |
|
MD5 | 302bd61e8897dfcb5cbea83c7992f793 |
|
BLAKE2b-256 | 689452a090feea918b4aef94b2aebae0866a2d8f53d84fe1bc9bedf70f9e63ce |