public class I10nMethodLogger extends Object implements MethodLogger
MethodLogger using I10n logging.| Modifier and Type | Field and Description |
|---|---|
static String |
LOG_KEY_ENTRY |
static String |
LOG_KEY_EXCEPTION |
static String |
LOG_KEY_EXIT |
| Constructor and Description |
|---|
I10nMethodLogger() |
| Modifier and Type | Method and Description |
|---|---|
void |
logEntry(String className,
String methodName,
Object[] args)
Logs a method entry.
|
void |
logException(String className,
String methodName,
Throwable e)
Logs a method failure with a exception.
|
void |
logExit(String className,
String methodName,
Object returnValue)
Logs a method exit.
|
public static final String LOG_KEY_ENTRY
public static final String LOG_KEY_EXIT
public static final String LOG_KEY_EXCEPTION
public void logEntry(String className, String methodName, Object[] args)
MethodLoggerlogEntry in interface MethodLoggerclassName - the method's class namemethodName - the method's nameargs - the method's argumentspublic void logExit(String className, String methodName, Object returnValue)
MethodLoggerlogExit in interface MethodLoggerclassName - the method's class namemethodName - the method's namereturnValue - the method's return valuepublic void logException(String className, String methodName, Throwable e)
MethodLoggerlogException in interface MethodLoggerclassName - the method's class namemethodName - the method's namee - the exceptionCopyright © 2018 CrafterCMS. All rights reserved.