Package org.craftercms.commons.logging
Class I10nMethodLogger
java.lang.Object
org.craftercms.commons.logging.I10nMethodLogger
- All Implemented Interfaces:
MethodLogger
MethodLogger
using I10n logging.- Author:
- avasquez
-
Field Summary
-
Constructor Summary
-
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.
-
Field Details
-
LOG_KEY_ENTRY
- See Also:
-
LOG_KEY_EXIT
- See Also:
-
LOG_KEY_EXCEPTION
- See Also:
-
-
Constructor Details
-
I10nMethodLogger
public I10nMethodLogger()
-
-
Method Details
-
logEntry
Description copied from interface:MethodLogger
Logs a method entry.- Specified by:
logEntry
in interfaceMethodLogger
- Parameters:
className
- the method's class namemethodName
- the method's nameargs
- the method's arguments
-
logExit
Description copied from interface:MethodLogger
Logs a method exit.- Specified by:
logExit
in interfaceMethodLogger
- Parameters:
className
- the method's class namemethodName
- the method's namereturnValue
- the method's return value
-
logException
Description copied from interface:MethodLogger
Logs a method failure with a exception.- Specified by:
logException
in interfaceMethodLogger
- Parameters:
className
- the method's class namemethodName
- the method's namee
- the exception
-