NetworkHelper: log real requests and responses (#7820)
(cherry picked from commit 2156844b87)
This commit is contained in:
@@ -38,7 +38,7 @@ open /* SY <-- */ class NetworkHelper(context: Context) {
|
||||
val httpLoggingInterceptor = HttpLoggingInterceptor().apply {
|
||||
level = HttpLoggingInterceptor.Level.HEADERS
|
||||
}
|
||||
builder.addInterceptor(httpLoggingInterceptor)
|
||||
builder.addNetworkInterceptor(httpLoggingInterceptor)
|
||||
}
|
||||
|
||||
when (preferences.dohProvider()) {
|
||||
|
||||
Reference in New Issue
Block a user