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
Modifier and TypeMethodDescriptionvoid
Logs a method entry.void
logException
(String className, String methodName, Throwable e) Logs a method failure with a exception.void
Logs a method exit.
-
Method Details
-
logEntry
Logs a method entry.- Parameters:
className
- the method's class namemethodName
- the method's nameargs
- the method's arguments
-
logExit
Logs a method exit.- Parameters:
className
- the method's class namemethodName
- the method's namereturnValue
- the method's return value
-
logException
Logs a method failure with a exception.- Parameters:
className
- the method's class namemethodName
- the method's namee
- the exception
-