Plum DEV Documentation


This shows you the differences between two versions of the page.

Link to this comparison view

voicexml:tags:log [2014/05/29 17:26]
jennifer added meta description
voicexml:tags:log [2019/09/17 12:29]
Line 1: Line 1:
-{{description>​‹log› VoiceXML tag details and VXML code example | The log element generates logging/​debug messages for application development or performance analysis.}} 
-The <log> element allows an application to generate a logging or debug message, which a developer can use to help in application development or post-execution analysis of application performance. 
-| label | A string used to give the log entry a label. | 
-| expr | An ECMAscript expression evaluating to a string. | 
-The contents of the log tag will be written straight into the standard logs as a "​debugging"​ message. Verbose logging must be turned on in order to view these messages. 
-<?xml version="​1.0"?>​ 
-<vxml version="​2.0">​ 
-  <​form>​ 
-    <field name="​someinput"​ type="​digits">​ 
-      <​prompt>​ 
-        Please say or enter some digits. 
-      </​prompt>​ 
-      <​filled>​ 
-        <log label="​mylog">​My log says <value expr="​someinput"/></​log>​ 
-      </​filled>​ 
-    </​field>​ 
-  </​form>​ 
-The output of the above script would be: 
-Computer: Please say or enter some digits. \\ 
-Human: One two three four five six seven eight nine. \\ 
-The following entry would then be added to the log: \\ 
-Tue 19 Nov 2002 03:24:07 PM EST (000000;​001;​1037737318) [mylog] LOCAL: My log says 123456789 
-====Child Tags==== 
-====Parent Tags==== 
-[[voicexml:​tags:​block|<​block>​]],​ [[voicexml:​tags:​catch|<​catch>​]],​ [[voicexml:​tags:​error|<​error>​]],​ [[voicexml:​tags:​filled|<​filled>​]],​ [[voicexml:​tags:​foreach|<​foreach>​]],​ [[voicexml:​tags:​help|<​help>​]],​ [[voicexml:​tags:​if|<​if>​]],​ [[voicexml:​tags:​noinput|<​noinput>​]],​ [[voicexml:​tags:​nomatch|<​nomatch>​]]