cars_mesh.setup_logging ======================= .. py:module:: cars_mesh.setup_logging .. autoapi-nested-parse:: CARS-mesh logging module Functions --------- .. autoapisummary:: cars_mesh.setup_logging.setup_logging cars_mesh.setup_logging.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, command) Add dated file handler to the logging. :param out_dir: output directory in which the log file will be created :type out_dir: str :param command: command name which will be part of the log file name :type command: str