
Lightweight logging library with a simple API, supporting multiple platforms. Facilitates easy logging setup, multi-level logging, and seamless integration with platform-specific frontends.
Canard is a lightweight Kotlin Multiplatform logging library with a simple API, working on:
Canard allows you to:
Canard is a good choice because:
repositories {
mavenCentral()
}
kotlin {
sourceSets {
commonMain {
dependencies {
implementation("org.kodein.log:canard:{version}")
}
}
}
}// Simple example
val loggerFactory = LoggerFactory(defaultLogFrontend)
val logger = newLogger(loggerFactory)
logger.info { "Welcome to ..." }
logger.warning { "... the Canard documentation!" }See Canard documentation.
Canard is a lightweight Kotlin Multiplatform logging library with a simple API, working on:
Canard allows you to:
Canard is a good choice because:
repositories {
mavenCentral()
}
kotlin {
sourceSets {
commonMain {
dependencies {
implementation("org.kodein.log:canard:{version}")
}
}
}
}// Simple example
val loggerFactory = LoggerFactory(defaultLogFrontend)
val logger = newLogger(loggerFactory)
logger.info { "Welcome to ..." }
logger.warning { "... the Canard documentation!" }See Canard documentation.