Expression of the String type - its value will be written into the log database (the column Incident). Maximum characters: 200 (a text is cropped from the right).
LINENO
in
Optional keyword. If it is entered, the script line which the action is placed in is to be written to the log database (the column Incident).
prtyExpr_Int
in
Expression of the Int type which determines a priority of storing the log into the log database. Its value must be within the range of _LOG_PRTY_INFO (0) .. _LOG_PRTY_ERROR(5). If it is not, the action generates the error _ERR_RANGE_ERROR.
Description
The action will perform a log into the log database. Text is characterized by value of expression strExpression (in contrast to LOG action).
Example
BEGIN
REAL _temperature
_temperature := 1.123
LOGEX "Temperature=" + %IToStr (_temperature) PRIORITY _LOG_PRTY_CRITALARM
END
Pridať komentár