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...
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
Ryan Brink
06/02/2023, 11:58 PM
What about loggers (like kermit) that are not slf4j based?