Added utility for doing automatic logging with AOP