Logging AOP Implementation - 1
Introduction Logging is not code for handling business logic, but rather for monitoring. That’s why logging appearing in the middle of business logic is very uncomfortable to see. Spring provides AOP, but I wanted to try implementing it myself without looking at Spring’s implementation. So, this time, I want to think about how to implement a great logging AOP. Situation Let’s write a sayHello method in the Person class and call it from main. Here, let’s assume the person object is provided by a framework. ...