Posts by Mateus Marmitt • 1 point
1 post
-
0
votes1
answer77
viewsA: How to create a custom annotation in Spring Boot and run it automatically when a method is called?
For this log case, you could use @Aspect. Basically you will create a custom Interceptor that will log in what you need on your @Getmapping input or output.