logging#
Common logging related functions.
- class CustomLogger(name, level=0)[source]#
Bases:
logging.LoggerCustom implementation of the
logging.Loggerclass with an addedtracemethod.
- get_logger(name=None)[source]#
Utility to make mypy recognise that logger is of type
CustomLogger.- Parameters
- Return type
- Returns
An instance of the
CustomLoggerclass.