https://kotlinlang.org logo
#feed
Title
# feed
k

kpgalligan

12/09/2021, 6:14 PM
Pushed Kermit 1.0. It's our KMP logging library. We've been using it for a while but finally took all the prerelease feedback and did a bunch of tweaking. We have some more specific posts coming around performance, production config, crash reporting integration, etc. https://twitter.com/TouchlabHQ/status/1469004818471604227?s=20
metal 2
❤️ 6
👍 4
a

altavir

12/09/2021, 6:41 PM
Nice. But I hate one-letter shortcuts.
k

kpgalligan

12/09/2021, 6:42 PM
For the log methods?
a

altavir

12/09/2021, 6:44 PM
yes. It would be nice to have alliases for longer names.
1
k

kpgalligan

12/09/2021, 6:49 PM
It definitely came up, but opinions tend to be split. Extensions maybe? I'm a little wary of method bloat, and calling from non-Kotlin doesn't work well with default params. Will think about it, though.
a

altavir

12/09/2021, 6:51 PM
yeah, extension aliases.
Both variants will work. At least from kotlin
k

kpgalligan

12/09/2021, 6:54 PM
The past couple months have been focused on non-Kotlin API design thinking, so I think coming back to Kermit with that frame of mind will help. Will add to the list of future things.
a

altavir

12/09/2021, 6:56 PM
Thanks. Great work in any case.
👍 1
b

Big Chungus

12/09/2021, 7:05 PM
Maybe an optional micro-module with those extensions only? Kermix?
👍 2
5 Views