Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for configureLogging (0.19 sec)

  1. okcurl/src/main/kotlin/okhttp3/curl/logging/LoggingUtil.kt

    import java.util.logging.LogRecord
    import java.util.logging.Logger
    import okhttp3.internal.http2.Http2
    
    class LoggingUtil {
      companion object {
        private val activeLoggers = mutableListOf<Logger>()
    
        fun configureLogging(
          debug: Boolean,
          showHttp2Frames: Boolean,
          sslDebug: Boolean,
        ) {
          if (debug || showHttp2Frames || sslDebug) {
            if (sslDebug) {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2.7K bytes
    - Viewed (1)
  2. istioctl/cmd/root.go

    	rootCmd := &cobra.Command{
    		Use:               "istioctl",
    		Short:             "Istio control interface.",
    		SilenceUsage:      true,
    		DisableAutoGenTag: true,
    		PersistentPreRunE: ConfigureLogging,
    		Long: `Istio configuration command line utility for service operators to
    debug and diagnose their Istio mesh.
    `,
    	}
    
    	rootCmd.SetArgs(args)
    
    	flags := rootCmd.PersistentFlags()
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Apr 11 20:51:30 GMT 2024
    - 10K bytes
    - Viewed (0)
  3. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

      val url: String? by argument(name = "url", help = "Remote resource URL")
    
      var client: Call.Factory? = null
    
      override fun run() {
        LoggingUtil.configureLogging(debug = verbose, showHttp2Frames = showHttp2Frames, sslDebug = sslDebug)
    
        commonRun()
      }
    
      fun createRequest(): Request = commonCreateRequest()
    
      fun createClient(): Call.Factory {
    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)
Back to top