Can anyone recommend any logging library that can ...
# multiplatform
a
Can anyone recommend any logging library that can be used to log info inside Ktor code?
c
ktor has generic logging plugins for both servers and clients, and you can configure the logging callback and pass messages directly into any logging library, such as Kermit which just released 1.0.0 today https://kotlinlang.slack.com/archives/C0BJ0GTE2/p1639073685336600
🎉 1
k
Good timing. Also looking for thoughts on reasonable extensions, so maybe a ktor one (but have to see if that's worth it vs just good examples)
a
This library works before ktor api request code, but after ktor request is made, it does not work, does not print logs, and even debugging breakpoints are also not working after that point, only works before the written request code only.