Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

While using beanshellBeanShell, if we need to log the messages (info, error, warnwarning) 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");

...