Hi everyone, I startet a small KMP project two day...
# multiplatform
b
Hi everyone, I startet a small KMP project two days ago and found out logging is a bit different there, compared what I know from Android. Lo(n)g story short, for fun I created a lib for that. It is currently just on GitHub, but can be used very easy by local-maven. Feel free to use & contribute https://github.com/Five-Star-Development/KMP-logger
c
i had this problem too. lmao. started to create a new lib. but then found out the kmp wizards at touchlab already created this: https://github.com/touchlab/Kermit
👍 1
b
same issue, but we just created a simple Log.x clone and implemented actual classes for each platform. great that you packaged it though, it will probably save someone some time :)
❤️ 1
m
Oh no, please not yet another logging library. There are already far too many of them. Just use Kotlin-Logging and you are done. Haven’t you done any research about what already exists before you started to write your own?
b
Yeah, I have to say it was also more of a fun think to do 🙂 that why I created it. I will check the other once out, thank you 🙂
b
@Michael Paus I find that a lot of the logging libraries out there are too complicated they are really not needed. in my case I tried a few and ended up dumping them for 10 minutes of work to just make our own Log.x code.
c
Have fun scrolling the list 😉 https://klibs.io/?query=Logging
😅 2
❤️ 1