fmeobjects.FMELogFile.setCallBack¶
-
FMELogFile.setCallBack(function)¶ Provide FME with a callback function that will be called whenever a message is logged. By default, messages will be logged to both the callback function and the Log file. If
setFileNameis called withNoneas the filename parameter, then messages will only be sent to the callback.The callback function must take two arguments: An
intseverity, and astringmessage.Parameters: function (Callable) – The function to provide FME for use as a callback function. Return type: None