NetworkHelper: log real requests and responses (#7820)

pull/7826/head
stevenyomi 2 years ago committed by GitHub
parent 763288ab13
commit 2156844b87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -35,7 +35,7 @@ class NetworkHelper(context: Context) {
val httpLoggingInterceptor = HttpLoggingInterceptor().apply {
level = HttpLoggingInterceptor.Level.HEADERS
}
builder.addInterceptor(httpLoggingInterceptor)
builder.addNetworkInterceptor(httpLoggingInterceptor)
}
when (preferences.dohProvider()) {

Loading…
Cancel
Save