Package org.craftercms.commons.logging
Class LoggedAspect
java.lang.Object
org.craftercms.commons.logging.LoggedAspect
Aspect that uses a
MethodLogger
to log methods with
Logged
annotation (or all methods of a class, if used in a class).- Author:
- avasquez
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlogMethod
(org.aspectj.lang.ProceedingJoinPoint pjp) void
setMethodLogger
(MethodLogger methodLogger)
-
Field Details
-
methodLogger
-
-
Constructor Details
-
LoggedAspect
public LoggedAspect()
-
-
Method Details
-
setMethodLogger
-
logMethod
- Throws:
Throwable
-