A color formater for python logging
Project description
Log Colorizer
=============
Simple python logging colorizer formatter licensed under BSD for linux consoles
Copyright (C) 2011 by Florian Mounier, Kozea
Installation
------------
Use pip :
pip install log_colorizer
And that's all.
Usage
-----
Basic usage:
```python
from logging import getLogger
from log_colorizer import make_colored_stream_handler
handler = make_colored_stream_handler()
logger = getLogger("library_name")
logger.addHandler(handler)
```
=============
Simple python logging colorizer formatter licensed under BSD for linux consoles
Copyright (C) 2011 by Florian Mounier, Kozea
Installation
------------
Use pip :
pip install log_colorizer
And that's all.
Usage
-----
Basic usage:
```python
from logging import getLogger
from log_colorizer import make_colored_stream_handler
handler = make_colored_stream_handler()
logger = getLogger("library_name")
logger.addHandler(handler)
```
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
log_colorizer-1.0.tar.gz
(1.6 kB
view hashes)