Hey there! This problem might be a bit unpredictable, but give it a go and let us know how you do!
In the following code snippet, Logback is being configured for logging in a Ktor application. Which statements about this configuration are correct? import ch.qos.logback.classic.Level
import ch.qos.logback.classic.Logger
import org.slf4j.LoggerFactory
fun Application.module(testing: Boolean = false) {
val logBack = LoggerFactory.getLogger(org.slf4j.Logger.ROOT_LOGGER_NAME) as Logger
logBack.level = if (testing) Level.DEBUG else Level.INFO
}