Using ScriptLog

ScriptLog is a transient object you can use to retrieve detailed log information during script execution. Use ScriptLog information during development to report any errors.

Note: You must put this object into the Pipeline Dictionary before you can use it. To add it to the pipeline dictionary, in the script node, under Dictionary Output, add a variable name to the ScriptLog property. For example, add myLog as the variable name.

Display ScriptLog data in any template with a simple ISML statement.

<pre>
<isprint value="${myLog}">
<pre>
Note: To generate persistent log information, use dw.system.Logger.