Package com.jcabi.aspects.aj
Class MethodLogger
- java.lang.Object
-
- com.jcabi.aspects.aj.MethodLogger
-
-
Constructor Summary
Constructors Constructor Description MethodLogger()
Public ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
wrapClass(org.aspectj.lang.ProceedingJoinPoint point)
Log methods in a class.Object
wrapMethod(org.aspectj.lang.ProceedingJoinPoint point)
Log individual methods.
-
-
-
Method Detail
-
wrapClass
public Object wrapClass(org.aspectj.lang.ProceedingJoinPoint point) throws Throwable
Log methods in a class.Try NOT to change the signature of this method, in order to keep it backward compatible.
- Parameters:
point
- Joint point- Returns:
- The result of call
- Throws:
Throwable
- If something goes wrong inside
-
wrapMethod
public Object wrapMethod(org.aspectj.lang.ProceedingJoinPoint point) throws Throwable
Log individual methods.Try NOT to change the signature of this method, in order to keep it backward compatible.
- Parameters:
point
- Joint point- Returns:
- The result of call
- Throws:
Throwable
- If something goes wrong inside
-
-