nwm_region_mgr.utils.logging_utils.CustomLoggingFormatter#

class nwm_region_mgr.utils.logging_utils.CustomLoggingFormatter(fmt=None, datefmt=None, style='%', validate=True, *, defaults=None)[source]#

Custom logging formatter to rename levels.

Attributes

LEVEL_MAP

default_msec_format

default_time_format

Methods

converter

localtime([seconds]) -> (tm_year,tm_mon,tm_mday,tm_hour,tm_min,

format(record)

Format the specified record as text.

formatException(ei)

Format and return the specified exception information as a string.

formatMessage(record)

formatStack(stack_info)

This method is provided as an extension point for specialized formatting of stack information.

formatTime(record[, datefmt])

Return the creation time of the specified LogRecord as formatted text.

usesTime()

Check if the format uses the creation time of the record.