Ktor Monitor Logging
A Ktor client plugin that provides the capability to log HTTP calls.
You can learn more from KtorMonitor.
HttpClient {
install(KtorMonitorLogging) {
sanitizeHeader { header -> header == "Authorization" }
filter { request -> !request.url.host.contains("cosminmihu.ro") }
isActive = true
showNotification = true
retentionPeriod = RetentionPeriod.OneHour
maxContentLength = ContentLength.Default
}
}
Content copied to clipboard