Versions Compared

Key

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

While using beanshellBeanShell, if we need to log the messages (info, error, warn) properly in joget.log file, we can use the joget LogUtil api. Its It is a very handy feature.

Code Block
// logging message - info
LogUtil.info("ClassName","Message");

// logging message - warn
LogUtil.warn("ClassName","Message");

// logging message - error
LogUtil.error("ClassName",Exception,"Message");

...