标签: java
我记录了我的方法的开头和结尾:
public class Foo { public void doSomething() { logger.debug(“doSomething is being called”); // do stuff logger.debug(“Finished calling doSomething”); } }
是否有库或自动执行此操作的好方法,而无需将这些行显式写入日志?