Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 643 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 643 Bytes

Module 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.1.9-1.1.1")
        }
    }
}

Usage

// Disable default console logs and log to Kermit
Database.log.console.level = LogLevel.NONE
Database.log.custom = KermitCouchbaseLiteLogger(kermit)