log message(a, b)


Writes message a into the job log of Lobster_data if b is set to true. The result of the function is always a.

Description of Parameters

Parameter

Description

a

Message to be logged.

b

true to activate the logging.

Examples

Defined are the system variables VAR_IS_TEST with value true and VAR_IS_NOT_TEST with value false.

Parameter a

Parameter b

Result

Text Is Logged

!!!Message!!!

VAR_IS_TEST

!!!Message!!!

Yes

!!!Message!!!

VAR_IS_NOT_TEST

!!!Message!!!

No

In the Control Center, the following message is shown in the log overview.

images/download/attachments/44940002/log_message_EN-version-1-modificationdate-1579743245392-api-v2.png