OpenWGA 7.11 - TMLScript reference

Method :

debug(msg [, param, param, ...])

On object Console
Usage Logs a message of log level "debug"

Log level "debug" is used for messages which put out internal or verbose information about a process, helpful to determine if it is working correctly, but which would bloat the log if they were put out all the time. Therefor debug messages are normally not put out.  Only when the TMLScript debugger is activated then debug messages, put out with this method, will also appear in the log.


msg (String)

The message, eventually containing substitution patterns described on the Console object documentation

param (Object)

Any number of parameters that are inserted into the message at the position of substitution patterns

Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events