Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Logging guards and around advice

Carroll, Ken wrote:
> Is there an advice, pointcut expression or anything else in AspectJ
> which would achieve what we need here -- one which would essentially
> wrap the whole of the log.trace() rather than just the trace method call
> itself.

That is not possible for a variety of reasons. The discussion comes up
regularly; please see Eric Bodden's excellent answers to my question at
http://dev.eclipse.org/mhonarc/lists/aspectj-users/msg06234.html

-h


Back to the top