Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-dev] aspectj for logging

Hi all,
now one of the more stressed capability of aop and aspectj is the ease of 
implementing a logging system without performing a lot of changes in the core 
code. Nevertheless, as far as I know, pointcuts in aspectj cannot be assigned 
to something within a method flow, for example a for loop, and this is 
reasonable. However, I wrote a lot of code where I'm interested in logging 
the result of an iteration over the elements, and I guess here aspectj cannot 
help keeping the core and logging functionalities separated. Am I wrong? Any 
example about this?

Thanks,
Luca


Back to the top