log_function
Import in python using from mcot.core.log import log_function
-
mcot.core.log.log_function(verbose=True, include_parameters=False, include_result=False)[source]
Log the time spent in a function.
When verbose: log both entering and leaving of function, otherwise only when leaving function.