Package org.craftercms.commons.logging
Interface MethodLogger
-
- All Known Implementing Classes:
I10nMethodLogger
public interface MethodLogger
Utility for logging a method entry/exit.- Author:
- avasquez
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
logEntry
void logEntry(String className, String methodName, Object[] args)
Logs a method entry.- Parameters:
className
- the method's class namemethodName
- the method's nameargs
- the method's arguments
-
logExit
void logExit(String className, String methodName, Object returnValue)
Logs a method exit.- Parameters:
className
- the method's class namemethodName
- the method's namereturnValue
- the method's return value
-
-