Mayank
11/15/2021, 1:27 PMclass KtorLogger(private val kermit: Kermit) : Logger {
override fun log(message: String) {
kermit.d { message }
}
}
russhwolf
11/15/2021, 3:13 PMLukasz Kalnik
11/15/2021, 3:21 PMLukasz Kalnik
11/15/2021, 3:22 PMLogger.SIMPLE
and it will just print the log messages to the console both on Android and iOS.
However if you inject Logger.DEFAULT
as the documentation says it won't work on Android...russhwolf
11/15/2021, 3:35 PMDEFAULT
is the one that tries to do slf4j on JVMMichael Strasser
11/16/2021, 2:34 AM