Package logilab-common-0 :: Package 36 :: Package 1 :: Module logging_ext
[frames] | no frames]

Module logging_ext

source code

Extends the logging module from the standard library.

:copyright: 2000-2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
:license: General Public License version 2 - http://www.gnu.org/licenses

Classes
  ColorFormatter
A color Formatter for the logging standard module.
Functions
 
xxx_cyan(record) source code
 
set_color_formatter(logger=None, **kw)
Install a color formatter on the 'logger'.
source code
Function Details

set_color_formatter(logger=None, **kw)

source code 

Install a color formatter on the 'logger'. If not given, it will
defaults to the default logger.

Any additional keyword will be passed as-is to the ColorFormatter
constructor.