public class LogUtil
extends java.lang.Object
| Constructor and Description |
|---|
LogUtil() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getLogAfterMethod(java.lang.Object classes,
java.lang.String methodName)
Get the log message before quitting the method
|
static java.lang.String |
getLogBeforeMethod(java.lang.Object classes,
java.lang.String methodName)
Get the log message on enter of the method
|
static java.lang.String |
getLogOnExceptionMethod(java.lang.Object classes,
java.lang.String methodName,
java.lang.Exception e)
Get the log message in each catch block
|
static java.lang.String |
getLogOnExceptionMethod(java.lang.Object classes,
java.lang.String methodName,
java.lang.String exceptionMessage)
Get the log message in each catch block
|
public static java.lang.String getLogBeforeMethod(java.lang.Object classes,
java.lang.String methodName)
classes - class namemethodName - method namepublic static java.lang.String getLogAfterMethod(java.lang.Object classes,
java.lang.String methodName)
classes - class namemethodName - method namepublic static java.lang.String getLogOnExceptionMethod(java.lang.Object classes,
java.lang.String methodName,
java.lang.Exception e)
classes - class namemethodName - method namee - Exceptionpublic static java.lang.String getLogOnExceptionMethod(java.lang.Object classes,
java.lang.String methodName,
java.lang.String exceptionMessage)
classes - methodName - exceptionMessage -