log_function_arguments

grizli.utils.log_function_arguments(LOGFILE, frame, func='func', verbose=True)[source]

Log local variables, e.g., parameter arguements to a file

Parameters:
LOGFILE : str or None

Output file. If None, then force verbose=True.

frame : currentframe()

Namespace object.

func : str

Function name to use

verbose : bool

Print messaage to stdout.