what do people use for multiplatform logging?
# multiplatform
j
what do people use for multiplatform logging?
m
👍 5
m
https://github.com/MicroUtils/kotlin-logging because it plays nicely with SLF4J in my Java modules.
l
a
+1 for Napier, very simple
k
We're reviewing Kermit's interface design and docs. Feedback welcome on desired features and issues.
m
I am wondering how multi-platform libraries are supposed to work together if everybody uses his own logging framework without any common abstraction. That’s why we have SLF4J in Java but what’s the common interface in Kotlin multi-platform?
k
There isn’t really a common platform interface for logging. Either Jetbrains would need to define it, or the community would need to agree on something similar. There were some discussions around that, but as of last chat it seemed like everybody’s wants were divergent. I would think we can bring that back up if there’s desire to do so.
m
I think most people with an Android only background have not yet realized the importants of this issue because on Android you have the Android logging system as the common factor but not so for multi-platform..
k
Yeah, I know what you’re saying. I had a decade of server Java before Android. I’m heading to a company “offsite” for the rest of the week, so I won’t move much on it, but will put it on the calendar for next week to put some thought into. As mentioned above, we’re seriously thinking through an api redesign for Kermit, and if there’s interest for some kind of common interface, its a good time for us to contribute to that process.
👏 1
đź‘€ 1