/
NikolayIvkin
/
tutorials1
Обзор
Документация
Войти
/
NikolayIvkin
/
tutorials1
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
spring-boot-modules/spring-boot-testing-2/src/main/java/com/baeldung/component/OtherComponent.java
19 строк
561 B
Haroon Khan
[JAVA-8377] Split spring-boot-testing module
15 дек 2021, 02:22
15 дек 2021, 02:22
1a59d99
Код
Авторство
О чём код?
package com.baeldung.component; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Component; @Component public class OtherComponent { private static final Logger LOG = LoggerFactory.getLogger(OtherComponent.class); public void processData() { LOG.trace("This is a TRACE log from another package"); LOG.debug("This is a DEBUG log from another package"); LOG.info("This is an INFO log from another package"); LOG.error("This is an ERROR log from another package"); } }