We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f63e94f + ea825ac commit 930eb02Copy full SHA for 930eb02
turbo/src/main/kotlin/dev/hotwire/turbo/http/TurboHttpClient.kt
@@ -17,6 +17,9 @@ import java.util.concurrent.TimeUnit
17
object TurboHttpClient {
18
private var cache: Cache? = null
19
private var httpCacheSize = 100L * 1024L * 1024L // 100 MBs
20
+ private val loggingInterceptor = HttpLoggingInterceptor().apply {
21
+ level = HttpLoggingInterceptor.Level.BASIC
22
+ }
23
24
internal var instance = buildNewHttpClient()
25
@@ -64,8 +67,4 @@ object TurboHttpClient {
64
67
65
68
return builder.build()
66
69
}
-
- private val loggingInterceptor = HttpLoggingInterceptor().apply {
- level = HttpLoggingInterceptor.Level.BASIC
70
- }
71
0 commit comments