From 2156844b87ba0fea303ba6dc160da61cf7d9dc95 Mon Sep 17 00:00:00 2001 From: stevenyomi <95685115+stevenyomi@users.noreply.github.com> Date: Sat, 20 Aug 2022 22:16:45 +0800 Subject: [PATCH] NetworkHelper: log real requests and responses (#7820) --- app/src/main/java/eu/kanade/tachiyomi/network/NetworkHelper.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/network/NetworkHelper.kt b/app/src/main/java/eu/kanade/tachiyomi/network/NetworkHelper.kt index ef785c7015..6c1e2ebecb 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/network/NetworkHelper.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/network/NetworkHelper.kt @@ -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()) {