Class WriteLogAction

Class Hierarchy

Use the WriteLogAction class to attach logging functionality to a trigger. When a trigger that has a WriteLogAction attached is set off, the action is executed and it writes the string that you set in the LogTextProperty to the Kanzi Studio Log window in the log category KZ_LOG_CATEGORY_GENERIC.

Writes a message to the Kanzi Studio Log window.

Inherits properties and message types from WriteLogActionMetadata.

Synopsis

Methods
create()

Creates a WriteLogAction

WriteLogAction.WriteLogAction:create(name)

Creates a WriteLogAction.

Parameters
name (string)

The action name passed to the constructor.

Return Values
(WriteLogAction)

A shared pointer to the created action.