Log Common Block
Contents
Use a Log block to record information about an application. For example, you can log caller-recorded input collected while an application is running or error messages. You can use the Log block for any of the following purposes:
- Informational – To log the application specific data
- Error – for logging error details
- Warning – to flag any warnings
- Debug – for debugging
The categories in the Log Level property correspond to the above.
When used for a callflow, the Log block writes the log to the Genesys Voice Platform logs (Media Control Platform) using the VoiceXML <log> tag.
The Log block has the following properties:
The Log block has no page exceptions.
Name Property
Find this property's details under Common Properties for Callflow Blocks or Common Properties for Workflow blocks.
Block Notes Property
Find this property's details under Common Properties for Callflow Blocks or Common Properties for Workflow Blocks.
Exceptions Property
Find this property's details under Common Properties for Callflow Blocks or Common Properties for Workflow Blocks.
For callflows, invalid ECMAScript expressions may raise the following exception events: error.semantic. For workflows, invalid ECMAScript expressions may raise the following exception events:
- error.log.ReferenceError
- error.illegalcond.SyntaxError
- error.illegalcond.ReferenceError
You can use custom events to define the ECMAScript exception event handling.
Condition Property
Find this property's details under Common Properties for Callflow Blocks or Common Properties for Workflow Blocks.
Label Property
This property applies to workflows only. It provides meta-data for the logging details.
Logging Details Property
Find this property's details under Common Properties for Callflow Blocks or Common Properties for Workflow Blocks.
Log Level Property
Find this property's details under Common Properties for Callflow Blocks or Common Properties for Workflow Blocks.
Enable Status Property
Find this property's details under Common Properties for Callflow Blocks or Common Properties for Workflow Blocks.
ORS Extensions Property
Starting with 8.1.4, Composer blocks used to build routing applications (with the exception of the Disconnect and EndParallel blocks) add a new ORS Extensions property.