NetworkHelper: log real requests and responses (#7820)
(cherry picked from commit 2156844b87ba0fea303ba6dc160da61cf7d9dc95)
This commit is contained in:
parent
595380f81d
commit
3ca2174c65
1 changed files with 1 additions and 1 deletions
|
|
@ -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()) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue