No more Retrofit, move to Ktor on Android — Logging and Interceptor

Barros
2 min readMay 27, 2022
Photo by Jordan Harrison on Unsplash

In the previous article here, we see how to implement Ktor on Android, now we focus on Logging and Interceptor.

Logging

First, add the logging dependencies in build.gradle:

implementation "io.ktor:ktor-client-logging:$ktor_version"

--

--