ILog

class ILog

Bases: ImpactCOMWrapperBase

Description:

Allows the developer to output messages to the internal log file.

Wraps a COM object or another wrapper instance. Accepts: - A valid impact_object - An existing impact_com_wrapper_base-derived instance

add(text)
Description:

Adds a line of text to the log.

Parameters:

text (str) – The text to add.

clear()
Description:

Clears the log file, if it exists.

save_to_file(file_name)
Description:

Saves the log to a file.

Parameters:

file_name (str) – The full path of the file to save to, if the file does not exist it is created.