Package org.craftercms.commons.logging
Interface MethodLogger
-
- All Known Implementing Classes:
I10nMethodLogger
public interface MethodLoggerUtility for logging a method entry/exit.- Author:
- avasquez
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidlogEntry(String className, String methodName, Object[] args)Logs a method entry.voidlogException(String className, String methodName, Throwable e)Logs a method failure with a exception.voidlogExit(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
-
-