logcat
Kermit
Our great sponsors
logcat | Kermit | |
---|---|---|
3 | 4 | |
892 | 634 | |
0.6% | 4.1% | |
0.0 | 7.2 | |
6 months ago | 3 months ago | |
Kotlin | JavaScript | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
logcat
-
Which logging library do you use for KMP?
There are heaps of options, and none of them particularly stand out to me. I'm starting a greenfield project with code shared at least between desktop and Android (JVM only in the medium term), so I've got the chance to find something more actively maintained than Square's logcat that I've been using lately.
-
Do yout stil use Android Timber lib?
We do use Timber. Another library that seem easy to use that I want to use in the future is logcat from Square.
- Released 𝚜𝚚𝚞𝚊𝚛𝚎/𝚕𝚘𝚐𝚌𝚊𝚝 – tiny Kotlin API for cheap logging on top of Android's normal 𝙻𝚘𝚐 class
Kermit
-
Which logging library do you use for KMP?
Using Kermit
-
Getting Started With Kotlin Multiplatform Mobile
Kermit The Log. This is a great logging library for KMM that is easy to use and created by Touchlab.
-
Kermit 1.0: A KMP Logging Library.
The oslog was not available in Kotlin's platform cinterop, so previously we directed people to copy/paste from Swift, but I think we can write a simple objc wrapper and cinterop that directly into a library. There's a ticket for that: https://github.com/touchlab/Kermit/issues/174
What are some alternatives?
log4k - Lightweight logging library for Kotlin/Multiplatform. Supports Android, iOS, JavaScript and plain JVM environments.
Napier - Logging library for Kotlin Multiplatform
ReKotlin - Unidirectional Data Flow in Kotlin - Port of https://github.com/ReSwift/ReSwift to Kotlin
hibernate-minimal-logger - Library to enable minimal statistical recording of database queries
ktor - Framework for quickly creating connected applications in Kotlin with minimal effort
kotlin-logging - Lightweight Multiplatform logging framework for Kotlin. A convenient and performant logging facade.
ReSwift - Unidirectional Data Flow in Swift - Inspired by Redux
Vlog - An in-display logging library for Android 📲
kotlin-result - A multiplatform Result monad for modelling success or failure operations.
dagger-track - Gradle plugin to add clock trackings to your dagger components and subcomponents
KaMPKit - KaMP Kit by Touchlab. A collection of code & tools designed to get your mobile team started quickly w/Kotlin Multiplatform