Home | Trees | Indices | Help |
|
---|
|
Log module with colored logging feature. Common usage of this module can be only importing it and calling one of the available functions: debug, warning, info, critical, error.
|
|||
ColoredFormatter ColoredFormatter class, which wrappers logging.Formatter. |
|||
ColoredLogger |
|
|||
str |
|
||
|
|
|||
RESET_SEQ = '\033[0m'
|
|||
COLOR_SEQ = '\033[1;%dm'
|
|||
BOLD_SEQ = '\033[1m'
|
|||
COLORS = {'WARNING': YELLOW, 'INFO': WHITE, 'DEBUG': BLUE, 'CR
|
|||
log_dict = {'WARNING': logging.WARNING, 'DEBUG': logging.DEBUG
|
|||
root_logger = getLogger()
|
|||
debug = root_logger.debug
|
|||
info = root_logger.info
|
|||
warning = root_logger.warning
|
|||
critical = root_logger.critical
|
|||
error = root_logger.error
|
|
Method to format the pattern in which the log messages will be displayed.
|
|
COLORS
|
log_dict
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Jun 9 22:24:56 2009 | http://epydoc.sourceforge.net |