Better, prettier commandline logging.
Project description
# console-logging
Better console logging for Python.

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

## 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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file console-logging-0.0.1.tar.gz.
File metadata
- Download URL: console-logging-0.0.1.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9638a77bdcb4a2f883eda4200db64fb5845b2a51ecdb3a28f15ae56b94414f2c
|
|
| MD5 |
2a3baa1f46e12934337d2b653916a9ab
|
|
| BLAKE2b-256 |
18663806fc0b5e4750fe3b15882f928345f8047bcab8dad3fac53440fb63fe11
|
File details
Details for the file console_logging-0.0.1-py2.py3-none-any.whl.
File metadata
- Download URL: console_logging-0.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e4fa54dec819f0c22aaa72e3bdfb115ddb91c6e347a4da95dc17c6e80d0b469
|
|
| MD5 |
302bd61e8897dfcb5cbea83c7992f793
|
|
| BLAKE2b-256 |
689452a090feea918b4aef94b2aebae0866a2d8f53d84fe1bc9bedf70f9e63ce
|