<log>
<log>
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.
Attributes
label
A string used to give the log entry a label.
expr
An ECMAscript expression evaluating to a string.
Notes
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.
Example
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
<block>, <catch>, <error>, <filled>, <foreach>, <help>, <if>, <noinput>, <nomatch>
Last updated