Native or JVM?
# kotlin-logging
c
Native or JVM?
v
on a JVM server
c
You will need to configure SLF4J dependencies because kotlin-logging for JVM uses SLF4J It seems ktor also uses SLF4J so basically it is just an addon and when you use kotlin-logging it will be as if you used slf4j directly.
v
It says in the ktor docs that it should autodetect slf4j a soon as it is in the gradle dependencies. I never worked with such autodetection and it is not working for out of the box. Would you expect it to work kotlin-logging?
c
Adding the dependency for kotlin-logging will include slf4j-api and slf4j-ext you need to add the logging implementation you require like logback or log4j both of those can be configured in code. It seems like there will be room for kotlin-logging adon modules for simplifying configuration for various logging implementation.