Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for getLevel (0.05 sec)

  1. okhttp/src/test/java/okhttp3/TestLogHandler.kt

      override fun beforeEach(context: ExtensionContext?) {
        previousLevel = logger.level
        logger.addHandler(handler)
        logger.setLevel(Level.FINEST)
      }
    
      override fun afterEach(context: ExtensionContext?) {
        logger.setLevel(previousLevel)
        logger.removeHandler(handler)
      }
    
      override fun apply(
        base: Statement,
        description: Description,
      ): Statement {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. 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)
  3. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

            Logger rootLogger = Logger.getLogger("");
            rootLogger.setLevel(Level.ALL);
            ConsoleHandler handler = new ConsoleHandler();
            handler.setFormatter(new SimpleFormatter());
            handler.setLevel(Level.ALL);
            rootLogger.addHandler(handler);
        }
    
        @Override
        public void tearDown() throws Exception {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/util/LogStream.java

        private static LogStream inst;
    
        public static int level = 1;
    
        public LogStream( PrintStream stream ) {
            super( stream );
        }
    
        public static void setLevel( int level ) {
            LogStream.level = level;
        }
        /**
         * This must be called before <tt>getInstance</tt> is called or
         * it will have no effect.
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.6K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/impl/LogbackConfiguration.java

                default:
                    value = ch.qos.logback.classic.Level.ERROR;
                    break;
            }
            ((ch.qos.logback.classic.Logger) LoggerFactory.getLogger(Logger.ROOT_LOGGER_NAME)).setLevel(value);
        }
    
        @Override
        public void activate() {
            // no op
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

        queue.addListener(listener, directExecutor());
        queue.enqueue(THROWING_EVENT, "custom-label");
    
        Logger logger = Logger.getLogger(ListenerCallQueue.class.getName());
        logger.setLevel(Level.SEVERE);
        TestLogHandler logHandler = new TestLogHandler();
        logger.addHandler(logHandler);
        try {
          queue.dispatch();
        } finally {
          logger.removeHandler(logHandler);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

        queue.addListener(listener, directExecutor());
        queue.enqueue(THROWING_EVENT, "custom-label");
    
        Logger logger = Logger.getLogger(ListenerCallQueue.class.getName());
        logger.setLevel(Level.SEVERE);
        TestLogHandler logHandler = new TestLogHandler();
        logger.addHandler(logHandler);
        try {
          queue.dispatch();
        } finally {
          logger.removeHandler(logHandler);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top