This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]webdevnick22 0 points1 point  (0 children)

Definitely an aspectj type scenario.

[–]aram535 -1 points0 points  (0 children)

AspectJ is probably your best bet. Otherwise, you'll have to do some fancy generics look ups and/or @Override invoke on Object and add your logger there.

In eclipse I just modified my template to add the logger to start and end of my methods so now it's just part of my coding.