Produces output data in log file.
This statement outputs a message in context or engine logger (defined thanks to the Engine property), for the log level defined in the Level property.
The message to output is generated from the JavaScript expression defined in Expression property.
Property | Type | Category | Description |
---|---|---|---|
Comment | String | standard | Describes the object comment to include in the documentation report. This property generally contains an explanation about the object. |
Engine | boolean | standard | Defines if the log is to be output in Engine logger or default Context logger. This property allows to choose the logger on which the log applies. If set to true, the message will be seen as output by the Convertigo Engine. If set to false (default value), the message will be seen as output by the running Context. |
Expression | JS expression | standard | Defines the expression evaluated to give the text to output. This property is a JavaScript expression that is evaluated during the transaction execution and gives the text string to output in log file. |
Is active | boolean | standard | Defines whether the statement is active. |
Level | String | standard | Defines the log level on which the log applies. This property defines the minimum level of log for which the message has to be output. The message will be output for any log level superior or equals to this property value. Log levels possible values are the following, by ascending order: • ERROR, • WARN, • INFO, • DEBUG, • TRACE. |