|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.ioc.internal.services.MethodLogger
public final class MethodLogger
Used by LoggingDecoratorImpl to delegate out logging behavior to a
separate object.
| Constructor Summary | |
|---|---|
MethodLogger(org.slf4j.Logger logger,
ExceptionTracker exceptionTracker)
|
|
| Method Summary | |
|---|---|
void |
entry(MethodInvocation invocation)
Invoked when a method is first entered |
void |
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 |
isDebugEnabled()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MethodLogger(org.slf4j.Logger logger,
ExceptionTracker exceptionTracker)
| Method Detail |
|---|
public boolean isDebugEnabled()
public void entry(MethodInvocation invocation)
invocation - identifies method invoked as well as parameters passed to methodpublic void exit(MethodInvocation invocation)
invocation - identifies method invocation and result value
public void fail(MethodInvocation invocation,
Throwable t)
invocation - identifies method invocation which failedt - exception throws by method invocation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||