LogoopenSUSE Build Service > Projects
Sign Up | Log In

Log formatting with colors!

colorlog.ColoredFormatter is a formatter for use with pythons logging module.

It allows colors to be placed in the format string, which is mostly useful when paired with a StreamHandler that is outputting to a terminal. This is accomplished by added a set of terminal color codes to the record before it is used to format the string.

Source Files

Filename Size Changed Actions

Comments for home:mnhauke (0)

Login required, please login or signup in order to comment