Logging

tools.my_logging.logger = <Logger my_logger (WARNING)>

Use this logger for all logging operations

It use the default configuration with the name my_logger

my_logging.setup_logging()

Setup the Logger from the Config File

Warning

Only call once!

Parameters

config_path (Path, optional) – Path to the Config File. Defaults to Path(“./logging.yml”).

Raises

RuntimeWarning – If no Configuration found