EasyLog - Quick Start - Spring Projects

Setup pom.xml

First, you need to setup your parent project


Second, you need to add 2 dependencies


If your project already has a different parent project (that project also has to pe a Spring project as well) you might not need spring-boot-starter-aop - just check

Extend EasyLogger

In your project create the class that extends the EasyLogger aspect and add the @Component annotation.

import io.lenar.easy.log.EasyLogger;
import org.springframework.stereotype.Component;

public class MyLogger extends EasyLogger {