SkillAgentSearch skills...

Canard

Kotlin/Multiplatform lightweight logging library.

Install / Use

/learn @kosi-libs/Canard
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Maven Central Github Actions MIT License Slack channel

Canard - Kotlin Multiplatform Logging library

Canard is a lightweight Kotlin Multiplatform logging library with a simple API, working on:

  • JVM / Android
  • iOS, as well as all Kotlin/Native targets
  • JavaScript / WasmJS

Canard allows you to:

  • Easily set up logging in a Kotlin Multiplatform
  • Log what you need on different levels
  • Avoid worrying about platform-specific frontend implementations

Canard is a good choice because:

  • It integrates nicely with all Kotlin/Multiplatform targets
  • It has a straightforward design with a user-friendly and comprehensible API.

Installation

repositories {
    mavenCentral()
}

kotlin {
    sourceSets {
        commonMain {
            dependencies {
                implementation("org.kodein.log:canard:{version}")
            }
        }
    }
}

Example

// Simple example
val loggerFactory = LoggerFactory(defaultLogFrontend)
val logger = newLogger(loggerFactory)

logger.info { "Welcome to ..." }
logger.warning { "... the Canard documentation!" }

Read more

See Canard documentation.

Supported by

JetBrains logo.

View on GitHub
GitHub Stars42
CategoryDevelopment
Updated8mo ago
Forks4

Languages

Kotlin

Security Score

87/100

Audited on Jul 15, 2025

No findings