Home > AI > Backend > SpringBoot > Lombok >

@Slf4j

@Slf4j
@SpringBootApplication
public class Demo12Application {


	public static void main(String[] args) {

        log.info("Simple log statement with inputs {}, {} and {}", 1, 2, 3);

	}

}

By default, spring boot uses logback as logging provider.

Leave a Reply