The <log> element allows the application to generate messages for debugging. This element can contain a combination of text and <value> elements, and the resulting message will be the concatenation of the text and string value of <value> element. The message will be logged to one or more files for viewing, as well as to the page that is sent as an email (if applicable).
Note: A failure to evaluate a <value> inside a <log> will result in an error.semantic event being thrown.
|
|
Attribute |
Description |
|
expr |
An ECMAScript expression of which the evaluated value will be appended to the |
|
label |
A string label that will be appended to the |
|
cond |
An ECMAScript expression to be evaluated and used as a boolean condition. This log will be executed only if the expression evaluates to A platform extension. |
|
level |
An integer value that must be less than or equal to the A platform extension. |
|
dest |
A space-separated list of files (dest1 .. destn) to which the message generated by this log should be written. Each desti is one of:
A platform extension. |
Block Catch Error Filled ForEach Help If Noinput Nomatch
Value #PCDATA
To use the dest 'syslog', the Call Manager must be configured with SYSLOG as a sink. Additionally, the 'NGI' syslog flag should be enabled for message 4002.
cond attribute.level attribute.dest attribute.<log> cannot be used as a child of <foreach> when <foreach> is a child of <prompt> and vxmli.conformance.disallow_exec_content_within_prompts is set to true.<log> tag for use with OpenSpeech Insight (OSI) will not be sent to the OSR and is thus not available when using OSI.
|