Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Minimally document klog until it's omproved to replace the examples below


Info

The documentation below needs updating. Currently the pico engine has <expr>.klog(<message>), which returns the value of <expr> after logging the value.



The syntax of an explicit logging statement is:

Code Block
languagejavascript
themeConfluence
log <level> <expr> 

where <level> where <level> is one of info, warn, error, or debug; and <expr> is any valid KRL expression that results in a string (or something that can be cast as a string such as a number).

...