KermitHttpLogger
Bridges Ktor's HTTP client logging to Kermit so HTTP request/response events appear in the standard app logs rather than going to System.out via Ktor's default io.ktor.client.plugins.logging.Logger.DEFAULT.
Usage:
HttpClient(engine) {
install(Logging) {
logger = KermitHttpLogger
level = LogLevel.HEADERS
}
}Content copied to clipboard