demcompare.log_conf =================== .. py:module:: demcompare.log_conf .. autoapi-nested-parse:: Logconf demcompare: contains logging configuration Functions --------- .. autoapisummary:: demcompare.log_conf.setup_logging demcompare.log_conf.add_log_file Module Contents --------------- .. py:function:: setup_logging(logconf_path='logging.json', default_level=logging.INFO) Setup the logging configuration If logconf_path is found, set the json logging configuration Else put default_level :param logconf_path: path to the configuration file :type logconf_path: string :param default_level: default level :type default_level: logging level :param cfg: input cfg :type cfg: Dict .. py:function:: add_log_file(out_dir: str) Add dated file handler to the logger. :param out_dir: output directory in which the log file will be created :type out_dir: str :return: None