I am getting below error, unable to get log statement. I haved added log config as well as in application.properties.
logging.level.com.google=TRACE
logging.level.com.example.com=TRACE
Error Log:
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Dependency:
implementation(libs.slf4j.api)
implementation(libs.slf4j.simple)
Code:
import lombok.extern.slf4j.Slf4j;
@Slf4j
public class Test {
@Test
public void testSearh() throws Exception {
log.trace("Test...........");
}
}