{"id":15067310,"url":"https://github.com/kosi-libs/canard","last_synced_at":"2025-10-13T01:03:13.123Z","repository":{"id":37005591,"uuid":"183564667","full_name":"kosi-libs/Canard","owner":"kosi-libs","description":"Kotlin/Multiplatform lightweight logging library.","archived":false,"fork":false,"pushed_at":"2024-05-23T04:08:34.000Z","size":19269,"stargazers_count":33,"open_issues_count":1,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-23T04:44:17.716Z","etag":null,"topics":["android","kmm","kmm-library","kodein","kodein-framework","kotlin","kotlin-library","kotlin-multiplatform"],"latest_commit_sha":null,"homepage":"https://kosi-libs.org/canard/","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kosi-libs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-26T05:44:28.000Z","updated_at":"2024-07-10T17:02:59.973Z","dependencies_parsed_at":"2023-11-30T22:23:19.986Z","dependency_job_id":"0c0f2cbe-670e-425d-b62e-55b0d36d6bed","html_url":"https://github.com/kosi-libs/Canard","commit_stats":null,"previous_names":["kodein-framework/kodein-log"],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kosi-libs%2FCanard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kosi-libs%2FCanard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kosi-libs%2FCanard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kosi-libs%2FCanard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kosi-libs","download_url":"https://codeload.github.com/kosi-libs/Canard/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248262034,"owners_count":21074230,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","kmm","kmm-library","kodein","kodein-framework","kotlin","kotlin-library","kotlin-multiplatform"],"created_at":"2024-09-25T01:19:35.872Z","updated_at":"2025-10-13T01:03:07.862Z","avatar_url":"https://github.com/kosi-libs.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Maven Central](https://img.shields.io/maven-central/v/org.kodein.log/canard)](https://mvnrepository.com/artifact/org.kodein.log/canard)\n![Github Actions](https://github.com/kosi-libs/Canard/actions/workflows/snapshot.yml/badge.svg)\n[![MIT License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/kosi-libs/Canard/blob/master/LICENSE.txt)\n[![Slack channel](https://img.shields.io/badge/Chat-Slack-green.svg?style=flat\u0026logo=slack)](https://kotlinlang.slack.com/messages/kodein/)\n\n# Canard - Kotlin Multiplatform Logging library\n\n**Canard** is a lightweight Kotlin Multiplatform logging library with a simple API, working on: \n - JVM / Android\n - iOS, as well as all Kotlin/Native targets\n - JavaScript / WasmJS\n\n**Canard** allows you to:\n\n- Easily set up logging in a Kotlin Multiplatform\n- Log what you need on different levels\n- Avoid worrying about platform-specific frontend implementations\n\n**Canard** is a good choice because:\n\n- It integrates nicely with all Kotlin/Multiplatform targets\n- It has a straightforward design with a user-friendly and comprehensible API.\n\n## Installation\n\n```kotlin\nrepositories {\n    mavenCentral()\n}\n\nkotlin {\n    sourceSets {\n        commonMain {\n            dependencies {\n                implementation(\"org.kodein.log:canard:{version}\")\n            }\n        }\n    }\n}\n```\n\n## Example\n\n```kotlin\n// Simple example\nval loggerFactory = LoggerFactory(defaultLogFrontend)\nval logger = newLogger(loggerFactory)\n\nlogger.info { \"Welcome to ...\" }\nlogger.warning { \"... the Canard documentation!\" }\n```\n\n## Read more\n\nSee **[Canard documentation](https://kosi-libs.org/canard/)**.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkosi-libs%2Fcanard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkosi-libs%2Fcanard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkosi-libs%2Fcanard/lists"}