spring-framework / org.springframework.aop.interceptor / CustomizableTraceInterceptor / <init>

<init>

CustomizableTraceInterceptor()

MethodInterceptor implementation that allows for highly customizable method-level tracing, using placeholders.

Trace messages are written on method entry, and if the method invocation succeeds on method exit. If an invocation results in an exception, then an exception message is written. The contents of these trace messages is fully customizable and special placeholders are available to allow you to include runtime information in your log messages. The placeholders available are:

There are restrictions on which placeholders can be used in which messages: see the individual message properties for details on the valid placeholders.

Author
Rob Harrop

Author
Juergen Hoeller

Since
1.2

See Also
#setEnterMessage#setExitMessage#setExceptionMessageSimpleTraceInterceptor