log

<log>

Log is an important element which will be used by the programmer to trace the steps involved in execution of the VoiceXML program thus helping in debugging it. Whenever interpreter meets this element it writes a message to its log, which could either be about the contents of the element or the evaluation of its attributes (expr).

 Attributes:

expr

An optional ECMAScript expression which evaluates to a string variable will be written to the log file.

label

An optional string used to indicate the purpose of the log or the nature of the log message.

parent

block, catch, error, filled, help, if, noinput, nomatch.

children

PCDATA, value.