fmeobjects.FMELogFile.holdMessages

FMELogFile.holdMessages(holdMessages)

Inform FME whether or not log messages should be held. If set to True, then any log messages will be stored in an internal memory buffer for later retrieval, and no messages will be written to the log file, or sent to the callback.

Held messages are retained until they are retrieved with getHeldMessages, even if holdMessages is set to False.

Parameters:

holdMessages (bool) – If set to True, then any log messages will be stored in an internal memory buffer for later retrieval, and no messages will be written to the log file, or sent to the callback.

Return type:

None