package com.amway.logging; import com.dw.util.logging.*; import org.aspectj.lang.*; import com.amway.service.*; /** * Aspect for trace logging of all method executions, including parameters. * * @author David Wong */ public aspect TraceAspect extends BaseTraceAspect { /** * Trace all method calls and constuctors. */ protected pointcut loggedOperations() : (execution(* *.*(..)) || execution(*.new(..))) && !within(IndentedLogging+) && within(AgsServiceDelegate+); protected void log(String msg) { System.out.println(msg); } }