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