Logging Framework With Custom Annotation @LogTime @LogRequest @LogResponse | AnnotationBased Logging
Vložit
- čas přidán 21. 10. 2022
- Hi Developers,
In this lecture, I have explained about creation of a logging framework using custom annotation. We can create custom annotations like @LogTime for logging time for method computation, @LogRequest for logging requests,s and @LogResponse for logging responses.
Spring AOP helps in determining annotation and using ProceedingJoinPoint and different advice like @Around, @Before, @After, @AfterThrowing, @AfterReturning, etc.
Using the combination of custom annotation and spring AOP we can provide an annotation-based logging framework.
Top Playlists:
Play Design Patterns: • Design Patterns | Fact...
Design Microservices : • Building Microservices...
DevOps Tutorials : • Spring Boot Docker Exa...
Spring Cloud Tutorials : • Spring Cloud Ribbon Eu...
RabbitMQ Tutorials : • RabbitMQ in 5 minutes
Quick Revision - Java (Interview Questions) : • Create A Custom Exception
Quick Revision - Spring (Interview Questions) : • Transaction Management...
Spring Boot Tutorials : • Inject Prototype Bean ...
Multithreading In Java : • Building Microservices...
Java 8 Multithreading Complete Tutorial : • CompletableFuture In J...
ExecutorService Java | Complete Course : • ExecutorService 01 | J...
QuickTimers : • Maintain Caching | Cac...
#customlogging #loggingannotation #playjava
Excellent 🙏
Please share the GIT link for the source code