logs

This module contains functions to set up logging for the model run and to log the start and end of functions.

prepshot.logs.log_parameter_info(config_data)[source]

Log key parameters used for the model.

Parameters

config_data (dict) -- Dictionary containing configuration data for the model.

Return type

None

prepshot.logs.setup_logging()[source]

Set up logging configuration for the model run.

Return type

None

prepshot.logs.timer(func)[source]

Decorator to log the start and end of a function and its runtime.

Parameters

func (function) -- The function to be decorated.

Returns

The return value of decorated function.

Return type

Any