configure_logging¶
-
lab_utils.custom_logging.
configure_logging
(config_file: str = None, fallback: bool = False, logger_name: str = 'root')[source]¶ Sets up the custom logger. Loads the configuration from
config_file
using theconfigparser
library.- Parameters
- Raises
configparser.Error – Error while parsing the file, e.g. no file was found, a parameter is missing or it has an invalid value.