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)[源代码]

Log key parameters used for the model.

参数

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

返回类型

None

prepshot.logs.setup_logging()[源代码]

Set up logging configuration for the model run.

返回类型

None

prepshot.logs.timer(func)[源代码]

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

参数

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

返回

The return value of decorated function.

返回类型

Any