Logging Method Entry/Exit in Spring Boot
December 1, 2019
I wanted to log (using slf4j) to a log file at the start and end of each service method in my Spring Boot project. This can be done by adding the following class to the project.
Note that the @Around
annotation defines which package contains the methods that are wrapped. …