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:
LOGFILEstr or None

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

framecurrentframe()

Namespace object.

funcstr

Function name to use

verbosebool

Print messaage to stdout.