Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Excerpt
hiddentrue

debug(message) Adds a debug message into the Log.


Function: debug()

Adds a debug message into the Log. This function is often used when creating a model and trying to work out why an Expression is not behaving as expected. 

The Detail field of the Log Message will contain a list of the current values of any Attributes, Pipes and $-Variables which are relevant in the context of the Expression.

The log mesage can be viewed on the console.

 

Syntax

debug(message)

ArgumentTypeDescription
messageStringA message to appear in the Log. Note that this could be an Expression.

Examples

ifNull (in.rate, debug("Missing rate") )

...