Our great sponsors
logcat | Arbor | |
---|---|---|
3 | 1 | |
889 | 94 | |
0.2% | - | |
0.0 | 1.2 | |
5 months ago | about 1 year 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
Arbor
-
Timber 5.0 is out! Rewritten in Kotlin, binary compatible with 4.x and support for AGP 7.0 lint checks
Since Timber doesn't quite yet support Kotlin Multiplatform, if you need a Timber-inspired alternative, perhaps swing your axe towards Arbor.
What are some alternatives?
log4k - Lightweight logging library for Kotlin/Multiplatform. Supports Android, iOS, JavaScript and plain JVM environments.
Kotlin Spotify Web API - Spotify Web API wrapper for Kotlin, Java, JS, and Native - Targets JVM, Android, JS (browser), Native (Desktop), and Apple tvOS/iOS. Includes a Spotify Web Playback SDK wrapper for Kotlin/JS, and a spotify-auth wrapper for Kotlin/Android.
Napier - Logging library for Kotlin Multiplatform
timber - A logger with a small, extensible API which provides utility on top of Android's normal Log class.
hibernate-minimal-logger - Library to enable minimal statistical recording of database queries
kmm-production-sample - This is an open-source, mobile, cross-platform application built with Kotlin Multiplatform Mobile. It's a simple RSS reader, and you can download it from the App Store and Google Play. It's been designed to demonstrate how KMM can be used in real production projects.
kotlin-logging - Lightweight Multiplatform logging framework for Kotlin. A convenient and performant logging facade.
klog - Minimalistic and multiplatform logging for Kotlin
Vlog - An in-display logging library for Android 📲
brac-kt - A Kotlin/Multiplatform interface for quantum computing
dagger-track - Gradle plugin to add clock trackings to your dagger components and subcomponents
stream-log - 🛥 A lightweight and extensible logger library for Kotlin and Android.