mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-19 00:59:17 +01:00
NetworkHelper: log real requests and responses (#7820)
This commit is contained in:
parent
763288ab13
commit
2156844b87
@ -35,7 +35,7 @@ class NetworkHelper(context: Context) {
|
|||||||
val httpLoggingInterceptor = HttpLoggingInterceptor().apply {
|
val httpLoggingInterceptor = HttpLoggingInterceptor().apply {
|
||||||
level = HttpLoggingInterceptor.Level.HEADERS
|
level = HttpLoggingInterceptor.Level.HEADERS
|
||||||
}
|
}
|
||||||
builder.addInterceptor(httpLoggingInterceptor)
|
builder.addNetworkInterceptor(httpLoggingInterceptor)
|
||||||
}
|
}
|
||||||
|
|
||||||
when (preferences.dohProvider()) {
|
when (preferences.dohProvider()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user