couchbase-lite-kermit
Couchbase Lite Community Edition – Kermit Logging Extensions
Kotbase Kermit is a Couchbase Lite custom logger which logs to Kermit. Kermit can direct its logs to any number of log outputs, including the console.
Installation
kotlin {
sourceSets {
commonMain.dependencies {
implementation("dev.kotbase:couchbase-lite-kermit:3.2.4-1.2.0")
}
}
}Content copied to clipboard
Usage
// Disable default console logs and log to Kermit
LogSinks.console = ConsoleLogSink(LogLevel.NONE)
LogSinks.custom = CustomLogSink(LogLevel.WARNING, logSink = KermitCouchbaseLiteLogSink(kermit))Content copied to clipboard