e3_build_tools.logging¶
Module for log configuration.
Attributes¶
Classes¶
Custom logger type. |
|
Custom console formatter. |
Functions¶
|
Set up the log environment. |
|
Log formated string using the standard logger. |
Module Contents¶
- class e3_build_tools.logging.CustomLogger(name: str, level: int | Text = logging.NOTSET)[source]¶
Bases:
logging.LoggerCustom logger type.
- class e3_build_tools.logging.ConsoleFormatter(fmt=None, datefmt=None, style='%', validate=True, *, defaults=None)[source]¶
Bases:
logging.FormatterCustom console formatter.
- format(record: logging.LogRecord) str[source]¶
Set the correct format style for each record.