Skip to main content

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)

```

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

log_colorizer-1.0.tar.gz (1.6 kB view hashes)

Uploaded Source

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