Anamika Trivedi

12/09/2021, 5:49 PM
Can anyone recommend any logging library that can be used to log info inside Ktor code?

Casey Brooks

12/09/2021, 6:37 PM
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
🎉 1


12/09/2021, 6:51 PM
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)

Anamika Trivedi

12/10/2021, 2:11 PM
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.