mgkit.logger module¶
Module configuring log information
-
class
mgkit.logger.ColorFormatter(fmt=None, datefmt=None)¶ Bases:
logging.Formatter-
colors= {'CRITICAL': 'red', 'DEBUG': 'blue', 'ERROR': 'magenta', 'INFO': 'green', 'WARNING': 'yellow'}¶
-
format(record)¶
-