vxmllog Function
Writes to the Tellme Platform debug log.

Syntax
vxmllog(sLogText);

Parameters
sLogText Required. The text to write to the log.

Return Value
No return value.

Examples

The following example writes the index and contents of an array to the log.

<?xml version="1.0"?>
<vxml version="2.1"
 xmlns="http://www.w3.org/2001/vxml">
   <form id="main">
      <block>
      <script>
      <![CDATA[
         // declare an array of fruits
         var aFruit = ["apple", "orange", "pear", "banana"];

         vxmllog("Contents of aFruit:");
         // iterate through the array
         for (var i = 0; i < aFruit.length; i++)
         {
            vxmllog("[" + i + "]: " + aFruit[i]);
         }
      ]]>
      </script>
      </block>
   </form>
</vxml>


[24]7 Inc.| Terms of Service| Privacy Policy| General Disclaimers