Class AlhLoggingAspect
java.lang.Object
com.github.catomat0.aoploghelper.logging.AlhLoggingAspect
- All Implemented Interfaces:
org.aopalliance.aop.Advice,org.aopalliance.intercept.Interceptor,org.aopalliance.intercept.MethodInterceptor
Method interceptor that emits a single log line per invocation with class, method,
(optionally masked) arguments, elapsed time, and — depending on outcome — the return
value or exception message.
Wired as two advisors in AlhLoggingAutoConfiguration:
- Configurable pointcut expression via
alh.logging.pointcut. - Annotation matcher for
LogExecution(forced on).
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AlhLoggingAspect
-
-
Method Details
-
invoke
- Specified by:
invokein interfaceorg.aopalliance.intercept.MethodInterceptor- Throws:
Throwable
-