koin
koin copied to clipboard
SLF4JLogger is using the wrong level when printing to logger
From my experimentations I found that the SLF4JLogger
always prints in what ever level the class has been configured for instead of the incoming level from the function, see this link
From my test code, I added the logger like this
install(KoinIsolated) {
slf4jLogger()
createEagerInstances()
}
With that it always printed info
, even if the log level was supposed to be warn
.