Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: dummmy

...

Code Block
languagejavascript
themeConfluence
log <level> <expr> 

...

<expr>.klog(<message>)

where <expr> is any valid KRL expression and <message> results in a string (or something that can be cast as a string such as a number).

...

The following example would place a string with the value of a variable named query in the log if the rule firedshould fire:

Code Block
languagejavascript
themeConfluence
pre {
  query = event:attr("query")
  fire = function(query){
    result = shouldFire(query);
    
  }()
fired { log debug "query:"+query } 

...