Hi. Is there an example of using <kotlin-logging> ...
# ktor
d
Hi. Is there an example of using kotlin-logging with ktor server? It should be using slf4j under the hood, which is what ktor uses, but I am not sure if and what steps are needed to integrate those two...
r
wondered the same thing about kermit 👀 https://github.com/touchlab/Kermit
c
You don't need to do anything specific. As you said, Ktor uses Slf4J, so any logging library you use will integrate with Ktor out-of-the-box (if it's also based on Slf4j)
r
What about loggers (like kermit) that are not slf4j based?