Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for getLevel (0.11 sec)

  1. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

         * deprecated).
         */
        fun setLevel(level: Level) =
          apply {
            this.level = level
          }
    
        @JvmName("-deprecated_level")
        @Deprecated(
          message = "moved to var",
          replaceWith = ReplaceWith(expression = "level"),
          level = DeprecationLevel.ERROR,
        )
        fun getLevel(): Level = level
    
        @Throws(IOException::class)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/log/Logger.java

         *            例外
         */
        public void log(final LogMessage logMessage, final Throwable throwable) {
            assertArgumentNotNull("logMessage", logMessage);
    
            final LogLevel level = logMessage.getLevel();
            if (isEnabledFor(level)) {
                final String message = logMessage.getMessage();
                switch (level) {
                case DEBUG:
                    log.debug(message, throwable);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt

        headers = Headers.of(mapOf("" to ""))
        val size: Int = headers.size()
      }
    
      @Test @Disabled
      fun httpLoggingInterceptor() {
        val interceptor = HttpLoggingInterceptor()
        val level = interceptor.getLevel()
      }
    
      @Test @Disabled
      fun httpUrl() {
        val httpUrl: HttpUrl = HttpUrl.get("")
        val url: URL = httpUrl.url()
        val uri: URI = httpUrl.uri()
        val scheme: String = httpUrl.scheme()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

      private val applicationInterceptor = HttpLoggingInterceptor(applicationLogs)
      private var extraNetworkInterceptor: Interceptor? = null
    
      private fun setLevel(level: Level) {
        networkInterceptor.setLevel(level)
        applicationInterceptor.setLevel(level)
      }
    
      @BeforeEach
      fun setUp(server: MockWebServer) {
        this.server = server
        client =
          OkHttpClient.Builder()
            .addNetworkInterceptor(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 37.6K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

                    LogStream.setLevel(4);
                } else if (logger.isDebugEnabled()) {
                    LogStream.setLevel(3);
                } else if (logger.isWarnEnabled()) {
                    LogStream.setLevel(2);
                } else if (logger.isErrorEnabled()) {
                    LogStream.setLevel(1);
                } else {
                    LogStream.setLevel(0);
                }
            }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

       */
      public void testEmptyServiceManager() {
        Logger logger = Logger.getLogger(ServiceManager.class.getName());
        logger.setLevel(Level.FINEST);
        TestLogHandler logHandler = new TestLogHandler();
        logger.addHandler(logHandler);
        ServiceManager manager = new ServiceManager(Arrays.<Service>asList());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

      ) {
        var logMessage = message
        if (stackTrace == null) {
          logMessage += " To see where this was allocated, set the OkHttpClient logger level to " +
            "FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE);"
        }
        log(logMessage, WARN, stackTrace as Throwable?)
      }
    
      open fun buildCertificateChainCleaner(trustManager: X509TrustManager): CertificateChainCleaner =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

            realm = Config.getProperty("jcifs.smb1.http.basicRealm");
            if (realm == null) realm = "jCIFS";
    
            if(( level = Config.getInt( "jcifs.smb1.util.loglevel", -1 )) != -1 ) {
                LogStream.setLevel( level );
            }
            if( log.level > 2 ) {
                try {
                    Config.store( log, "JCIFS PROPERTIES" );
                } catch( IOException ioe ) {
                }
            }
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/Config.java

                if( log.level > 0 )
                    ioe.printStackTrace( log );
            }
    
            if(( level = Config.getInt( "jcifs.smb1.util.loglevel", -1 )) != -1 ) {
                LogStream.setLevel( level );
            }
    
            try {
                "".getBytes(DEFAULT_OEM_ENCODING);
            } catch (UnsupportedEncodingException uee) {
                if (log.level >= 2) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/http/NetworkExplorer.java

            if (realm == null) realm = "jCIFS";
            defaultDomain = Config.getProperty("jcifs.smb1.smb.client.domain");
    
            if(( level = Config.getInt( "jcifs.smb1.util.loglevel", -1 )) != -1 ) {
                LogStream.setLevel( level );
            }
            if( log.level > 2 ) {
                try {
                    Config.store( log, "JCIFS PROPERTIES" );
                } catch( IOException ioe ) {
                }
            }
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 22 03:57:31 UTC 2020
    - 19.7K bytes
    - Viewed (0)
Back to top