Class MethodLogger
java.lang.Object
org.apache.tapestry5.ioc.internal.services.MethodLogger
Used by
LoggingDecoratorImpl
to delegate out logging behavior to a
separate object.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
entry
(MethodInvocation invocation) Invoked when a method is first enteredvoid
exit
(MethodInvocation invocation) Invoked when a method exits (possibly returning a value).void
fail
(MethodInvocation invocation, Throwable t) Invoked when method invocation instead throws an exception.boolean
-
Constructor Details
-
MethodLogger
-
-
Method Details
-
isDebugEnabled
-
entry
Invoked when a method is first entered- Parameters:
invocation
- identifies method invoked as well as parameters passed to method
-
exit
Invoked when a method exits (possibly returning a value).- Parameters:
invocation
- identifies method invocation and result value
-
fail
Invoked when method invocation instead throws an exception.- Parameters:
invocation
- identifies method invocation which failedt
- exception throws by method invocation
-