Skip to content

Defines a python logging formatter and a default handler for nice shell output

License

Notifications You must be signed in to change notification settings

Kozea/log_colorizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

from logging import getLogger
from log_colorizer import make_colored_stream_handler
handler = make_colored_stream_handler()
logger = getLogger("library_name")
logger.addHandler(handler)

About

Defines a python logging formatter and a default handler for nice shell output

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages