Skip to content

//logging-interceptor/okhttp3.logging

Package okhttp3.logging

Types

Name Summary
HttpLoggingInterceptor [jvm]
class HttpLoggingInterceptor@JvmOverloadsconstructor(logger: HttpLoggingInterceptor.Logger = Logger.DEFAULT) : Interceptor
An OkHttp interceptor which logs request and response information. Can be applied as an application interceptor or as a OkHttpClient.networkInterceptors.
LoggingEventListener [jvm]
class LoggingEventListener : EventListener
An OkHttp EventListener, which logs call events. Can be applied as an event listener factory.