logcat | Napier | |
---|---|---|
3 | 3 | |
892 | 690 | |
0.6% | - | |
0.0 | 4.9 | |
6 months ago | 4 months ago | |
Kotlin | Kotlin | |
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
Napier
What are some alternatives?
log4k - Lightweight logging library for Kotlin/Multiplatform. Supports Android, iOS, JavaScript and plain JVM environments.
Kermit - Kermit by Touchlab is a Kotlin Multiplatform centralized logging utility.
hibernate-minimal-logger - Library to enable minimal statistical recording of database queries
tinylog - tinylog is a lightweight logging framework for Java, Kotlin, Scala, and Android
kotlin-logging - Lightweight Multiplatform logging framework for Kotlin. A convenient and performant logging facade.
factastic - Useless facts every day! Here's an example of a multiplatform app with shared UI and network logic built with Kotlin Multiplatform and Compose Multiplatform for Android, iOS and Desktop.
Vlog - An in-display logging library for Android 📲
Ksoup - Ksoup is a lightweight Kotlin Multiplatform library for parsing HTML, extracting HTML tags, attributes, and text, and encoding and decoding HTML entities.
dagger-track - Gradle plugin to add clock trackings to your dagger components and subcomponents
multiplatform-settings - A Kotlin Multiplatform library for saving simple key-value data
PeopleInSpace - Kotlin Multiplatform project with SwiftUI, Jetpack Compose, Compose for Wear, Compose for Desktop, Compose for Web and Kotlin/JS + React clients along with Ktor backend.