private int m_level = 0;
/**
*/
public Object logMethod(final JoinPoint joinPoint) throws Throwable {
MemberSignature signature = (MemberSignature) joinPoint.getSignature();
indent();
System.out.println(joinPoint.getType()
+ "--> "
+ joinPoint.getTargetClass().getName()
+ "::"
+ signature.getName());
m_level++;
final Object result = joinPoint.proceed();
m_level--;
indent();
System.out.println(joinPoint.getType()
+ "<-- "
+ joinPoint.getTargetClass().getName()
+ "::"
+ signature.getName());
return result;
}