logcat
klog
Our great sponsors
logcat | klog | |
---|---|---|
3 | 2 | |
889 | 509 | |
0.2% | 1.6% | |
0.0 | 6.6 | |
5 months ago | 13 days ago | |
Kotlin | Go | |
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
klog
-
Need help with identifying a log format
Klog
-
Mining metrics from unstructured logs
I would say it's not actually detection, it's more like guessing. For most log formats, the agent simply looks for a mention of known levels at the beginning of each message. In addition, we implemented special parsers for glog/klog and redis log formats. If it is impossible to detect the level of severity, the UNKNOWN level is used.
What are some alternatives?
log4k - Lightweight logging library for Kotlin/Multiplatform. Supports Android, iOS, JavaScript and plain JVM environments.
coroot-node-agent - A Prometheus exporter based on eBPF that gathers comprehensive container metrics
Napier - Logging library for Kotlin Multiplatform
coroot-aws-agent - A prometheus exporter that gathers metrics from AWS services.
hibernate-minimal-logger - Library to enable minimal statistical recording of database queries
better-parse - A nice parser combinator library for Kotlin
kotlin-logging - Lightweight Multiplatform logging framework for Kotlin. A convenient and performant logging facade.
Vlog - An in-display logging library for Android 📲
dagger-track - Gradle plugin to add clock trackings to your dagger components and subcomponents
Kermit - Kermit by Touchlab is a Kotlin Multiplatform centralized logging utility.
klog - Minimalistic and multiplatform logging for Kotlin
timber - A logger with a small, extensible API which provides utility on top of Android's normal Log class.