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.
kotlin {
sourceSets {
commonMain.dependencies {
implementation("dev.kotbase:couchbase-lite-kermit:3.1.9-1.1.1")
}
}
}
// Disable default console logs and log to Kermit
Database.log.console.level = LogLevel.NONE
Database.log.custom = KermitCouchbaseLiteLogger(kermit)