otupy.utils.log_formatting

Formatting log messages

This modules provides a formatter for the logging framework.

The following generic format is provided: <datetime> [<level>] <modulename>: <message> where the <level> is colorized to give prominence to more critical messages. All fields can be optionally omitted.

This module requires 256-colors terminals.

Classes

LogFormatter

Colored logging formatter