Kermit
Kermit copied to clipboard
Feature Request: Support for CLI applications
Does Kermit support CLI applications?
I got it working in my iOS app, but when I tried to create a CLI application using KMP, it didn't print anything in my terminal. It only worked after I created a custom LogWriter, like this:
class YourCustomWriter : LogWriter() {
override fun log(severity: Severity, message: String, tag: String, throwable: Throwable?) {
println(message)
}
}
Logger.setLogWriters(YourCustomWriter())
Logger.d { "Test" }