mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-21 20:47:03 -05:00
NetworkHelper: log real requests and responses (#7820)
This commit is contained in:
parent
763288ab13
commit
2156844b87
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue