streamsight.utils.prepare_logger

streamsight.utils.prepare_logger(path: 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:

path (str) – Path to the configuration file.

Returns:

Configuration dictionary.

Return type:

dict