def setup_logging() -> None: with open('log_config.yaml', 'r') as file: config_dict = yaml_load(file.read()) logging.config.dictConfig(config_dict)