Avaya Logo

Previous Topic

Next Topic

Book Contents

Book Index

Using the <log> tag

You can use the <log> tag in VoiceXML documents to generate logging or debug messages that may be helpful in troubleshooting problems with applications. Logging can also be used to monitor events and take action in IVR Designer applications using Asynchronous Event nodes.

For example, the command:

<log>Error: <value expr='_event'/>, <value expr='_message'/></log>

could be used to generate errors based on evaluating the _event and _message variables in an application.

Complete information on the <log> tag is in the VoiceXML 2.0 specification.

See also

© 2006 Avaya Inc. All Rights Reserved.