2.3.3 Use log() to View Diagnostic Messages

Log() is a global function that can be called to send a message to the log. In Style Studio, log messages are displayed in the Console window. On the report server, log messages are added to the sree.log file and printed to stderr. Log messages can be used to verify whether a script is invoked or to check the order of script execution.

log("Text changed to: " + text);

See Also

Log Service Properties, in Administration Reference, for instructions on how to set the “stderr” option.

<< 2.3.2 Associate Script with Elements © 1996-2013 InetSoft Technology Corporation (v11.4) 2.3.4 Protect Reports from Script Errors >>