I am new bee to AspectJ. I had a requirement of improving our existing logging mechanism by adding "Method Entered ..", "Method Exited .." statements in all public methods of the application.
Since Most of the AspectJ examples are about acheiving a similar thing by writing some advices on pointcuts, I thought it might be a good idea to use AspectJ in this case.
I have a couple of questions regarding the same and any help is greatly appreciated.
Since the logging statements will never be part of the java source code, How easy is it to debug based on the log statements? I might search the entire source for that particular log statement which i wont find.
How good is it , to keep adding these kind of adivises outside the source which is difficult to maintain and understand by new comers to existing projects ?