log_function_arguments

grizli.utils.log_function_arguments(LOGFILE, frame, func='func', ignore=[], 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

ignorelist

Variable names to ignore

verbosebool

Print messaage to stdout.