Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
import java.lang.Exception; import org.joget.commons.util.LogUtil; try { //do something } catch (Exception e) { LogUtil.error("org.sample.SamplePlugin", e, "Error!!"); }
public static void debug(java.lang.String className, java.lang.String message)
public static void error(java.lang.String className, java.lang.Throwable e, java.lang.String message)
Log exception message with logger level is error
public static java.io.File getTomcatLogFile(java.lang.String filename)
Convenient method to retrieve all tomcat log file by file name
public static void info(java.lang.String className, java.lang.String message)
Log message with logger level is info
public static java.lang.Boolean isDeployInTomcat()
Check is the current installation is deploy in Tomcat server
public static java.io.File[] tomcatLogFiles()
Convenient method to retrieve all tomcat log files
public static void warn(java.lang.String className, java.lang.String message)
Log message with logger level is warn