swamp.logger.colorformat module¶
-
class
ColorFormatter
(fmt=None, datefmt=None, style='%')[source]¶ Bases:
logging.Formatter
Class to format the logging messages with the appropiate color according to the logging level
-
colors
¶ Dictionary with the colors corresponding with each logging level
-