1colorlog.ColoredFormatter is a formatter for use with Python's logging module
2that outputs records using terminal colors.
3
4The ColoredFormatter class takes several arguments:
5- format: The format string used to output the message (required).
6- datefmt: An optional date format passed to the base class. See
7  logging.Formatter.
8- reset: Implicitly adds a color reset code to the message output, unless the
9  output already ends with one. Defaults to True.
10- log_colors: A mapping of record level names to color names. The defaults can
11  be found in colorlog.default_log_colors.
12- secondary_log_colors: A mapping of names to log_colors style mappings,
13  defining additional colors that can be used in format strings.
14- style: Available on Python 3.2 and above. See logging.Formatter.
15