- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for androidLogging (0.06 sec)
-
okhttp-android/src/main/kotlin/okhttp3/android/AndroidLogging.kt
*/ fun LoggingEventListener.Companion.androidLogging( priority: Int = Log.INFO, tag: String = "OkHttp", ) = LoggingEventListener.Factory { Log.println(priority, tag, it) } /** * An OkHttp [HttpLoggingInterceptor], with android Log as the target. */ fun HttpLoggingInterceptor.Companion.androidLogging( priority: Int = Log.INFO, tag: String = "OkHttp",
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 01 11:07:32 UTC 2024 - 1.2K bytes - Viewed (0) -
okhttp-android/api/okhttp-android.api
public final class okhttp3/android/AndroidLoggingKt { public static final fun androidLogging (Lokhttp3/logging/HttpLoggingInterceptor$Companion;ILjava/lang/String;)Lokhttp3/logging/HttpLoggingInterceptor; public static final fun androidLogging (Lokhttp3/logging/LoggingEventListener$Companion;ILjava/lang/String;)Lokhttp3/logging/LoggingEventListener$Factory;
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 01 11:07:32 UTC 2024 - 1.3K bytes - Viewed (0) -
okhttp-android/src/test/kotlin/okhttp3/android/AndroidLoggingTest.kt
} val request = Request("http://google.com/robots.txt".toHttpUrl()) @Test fun testHttpLoggingInterceptor() { val interceptor = HttpLoggingInterceptor.androidLogging(tag = "testHttpLoggingInterceptor").apply { level = HttpLoggingInterceptor.Level.BASIC } val client = clientBuilder.addInterceptor(interceptor).build() try {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 01 11:07:32 UTC 2024 - 3.2K bytes - Viewed (0) -
CHANGELOG.md
This feature increases the client's traffic and the load on the server. Talking to your server's operators before adopting it. * New in okhttp-android: `HttpLoggingInterceptor.androidLogging()` and `LoggingEventListener.androidLogging()` write HTTP calls or events to Logcat. * New: `OkHttpClient.webSocketCloseTimeout` configures how long a web socket connection will wait
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 18 01:31:39 UTC 2024 - 21.4K bytes - Viewed (0)