Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 81 for logging (0.22 sec)

  1. docs/contribute/debug_logging.md

    Debug Logging
    =============
    
    OkHttp has internal APIs to enable debug logging. It uses the `java.util.logging` API which can be
    tricky to configure. As a shortcut, you can paste [OkHttpDebugLogging.kt]. Then enable debug logging
    for whichever features you need:
    
    ```
    OkHttpDebugLogging.enableHttp2()
    OkHttpDebugLogging.enableTaskRunner()
    ```
    
    ### Activating on Android
    
    ```
    $ adb shell setprop log.tag.okhttp.Http2 DEBUG
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 06 16:35:36 GMT 2022
    - 2.7K bytes
    - Viewed (0)
  2. okhttp-logging-interceptor/api/logging-interceptor.api

    }
    
    public final class okhttp3/logging/HttpLoggingInterceptor$Level : java/lang/Enum {
    	public static final field BASIC Lokhttp3/logging/HttpLoggingInterceptor$Level;
    	public static final field BODY Lokhttp3/logging/HttpLoggingInterceptor$Level;
    	public static final field HEADERS Lokhttp3/logging/HttpLoggingInterceptor$Level;
    	public static final field NONE Lokhttp3/logging/HttpLoggingInterceptor$Level;
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 4.5K bytes
    - Viewed (1)
  3. okhttp-android/api/okhttp-android.api

    	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;
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 01 11:07:32 GMT 2024
    - 1.3K bytes
    - Viewed (1)
  4. okhttp-logging-interceptor/build.gradle.kts

      id("org.jetbrains.dokka")
      id("com.vanniktech.maven.publish.base")
      id("binary-compatibility-validator")
    }
    
    project.applyOsgi(
      "Export-Package: okhttp3.logging",
      "Automatic-Module-Name: okhttp3.logging",
      "Bundle-SymbolicName: com.squareup.okhttp3.logging"
    )
    
    dependencies {
      api(projects.okhttp)
      compileOnly(libs.findbugs.jsr305)
    
      testCompileOnly(libs.findbugs.jsr305)
      testImplementation(libs.junit)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Jan 04 05:32:07 GMT 2024
    - 842 bytes
    - Viewed (0)
  5. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.curl.internal.commonCreateRequest
    import okhttp3.curl.internal.commonRun
    import okhttp3.curl.logging.LoggingUtil
    import okhttp3.internal.platform.Platform
    import okhttp3.logging.HttpLoggingInterceptor
    import okhttp3.logging.LoggingEventListener
    
    class Main : CliktCommand(name = NAME, help = "A curl for the next-generation web.") {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (1)
  6. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    @file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
    
    package okhttp3.logging
    
    import java.io.IOException
    import java.nio.charset.Charset
    import java.util.TreeSet
    import java.util.concurrent.TimeUnit
    import okhttp3.Headers
    import okhttp3.HttpUrl
    import okhttp3.Interceptor
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 11.2K bytes
    - Viewed (1)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/testing/Flaky.kt

     */
    package okhttp3.testing
    
    @Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION)
    @Retention(AnnotationRetention.RUNTIME)
    /**
     * Annotation marking a test as flaky, and requires extra logging and linking against
     * a known github issue.  This does not ignore the failure.
     */
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 902 bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

    import java.io.IOException
    import java.net.InetSocketAddress
    import java.net.Socket
    import java.security.GeneralSecurityException
    import java.security.KeyStore
    import java.security.Security
    import java.util.logging.Level
    import java.util.logging.Logger
    import javax.net.ssl.ExtendedSSLSession
    import javax.net.ssl.SNIHostName
    import javax.net.ssl.SSLContext
    import javax.net.ssl.SSLSocket
    import javax.net.ssl.SSLSocketFactory
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (1)
  9. okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt

    import java.net.ServerSocket
    import java.net.Socket
    import java.util.concurrent.BlockingQueue
    import java.util.concurrent.Executors
    import java.util.concurrent.LinkedBlockingQueue
    import java.util.logging.Logger
    import okhttp3.TestUtil.threadFactory
    import okhttp3.internal.closeQuietly
    import okio.Buffer
    import okio.BufferedSource
    import okio.ByteString
    import okio.buffer
    import okio.source
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  10. docs/changelogs/changelog_4x.md

        ```kotlin
        dependencies {
           api(platform("com.squareup.okhttp3:okhttp-bom:4.4.0"))
           api("com.squareup.okhttp3:okhttp")              // No version!
           api("com.squareup.okhttp3:logging-interceptor") // No version!
        }
        ```
    
     *  New: Upgrade to Okio 2.4.3.
    
        ```kotlin
        implementation("com.squareup.okio:okio:2.4.3")
        ```
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
Back to top