streamsight.utils.prepare_logger

streamsight.utils.prepare_logger(log_config_filename: str) dict

Prepare the logger.

Prepare the logger by reading the configuration file and setting up the logger. If the configuration file does not exist, it will be created.

Parameters:

log_config_filename (str) – Name of configuration file.

Returns:

Configuration dictionary.

Return type:

dict