cf.REGRID_LOGGING

cf.REGRID_LOGGING(*arg)[source]

Whether or not to enable ESMPy logging.

If it is logging is performed after every call to ESMPy.

Parameters:
arg: bool, optional

The new value (either True to enable logging or False to disable it). The default is to not change the current behaviour.

Returns:
out: bool

The value prior to the change, or the current value if no new value was specified.

Examples:
>>> cf.REGRID_LOGGING()
False
>>> cf.REGRID_LOGGING(True)
False
>>> cf.REGRID_LOGGING()
True