custom_log_formatter#
CustomLogFormatter uses the standard python logging library to create a custom concrete implementation of logging.Formatter.
CustomLogFormatter overrides the expected format function in order to check if the log record contains either the func_name_override or file_name_override attribute. If the record contains one or either of those attributes it sets the records funcName and/or filename attribute.
Classes
|
Custom Log Formatter class that inherits Python's logging.Formatter class. |