Joget Workflow v6 Released

Check out the latest Joget Workflow v6 for many new features and improvements in user experience (UX), app maintainability and performance.

Skip to end of metadata
Go to start of metadata

Description

  • org.joget.commons.util.LogUtil
  • Under wflow-commons module
  • Utility methods to log message to log file

Code Sample

Methods

debug
public static void debug(java.lang.String className, java.lang.String message)

Log message with logger level is debug

error
public static void error(java.lang.String className, java.lang.Throwable e, java.lang.String message)

Log exception message with logger level is error

getTomcatLogFile
public static java.io.File getTomcatLogFile(java.lang.String filename)

Convenient method to retrieve all tomcat log file by file name 

info
public static void info(java.lang.String className, java.lang.String message)

Log message with logger level is info

isDeployInTomcat
public static java.lang.Boolean isDeployInTomcat()

Check is the current installation is deploy in Tomcat server

tomcatLogFiles
public static java.io.File[] tomcatLogFiles()

Convenient method to retrieve all tomcat log files 

warn
public static void warn(java.lang.String className, java.lang.String message)

Log message with logger level is warn

  • No labels