I log the beginning and the end of my methods like this:
public class Foo {
public void doSomething() {
logger.debug(“doSomething is being called”);
// do stuff
logger.debug(“Finished calling doSomething”);
}
}
Is there a library or a good way to automatically do this without having to explicitly write those lines to log?