Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 18 for getLevel (0.06 seconds)

  1. src/main/java/org/codelibs/fess/helper/LogNotificationHelper.java

                return timestamp;
            }
    
            /**
             * Returns the log level name.
             *
             * @return the log level name
             */
            public String getLevel() {
                return level;
            }
    
            /**
             * Returns the logger name.
             *
             * @return the logger name
             */
            public String getLoggerName() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  2. okhttp-logging-interceptor/api/logging-interceptor.api

    	public final fun getLevel ()Lokhttp3/logging/HttpLoggingInterceptor$Level;
    	public fun intercept (Lokhttp3/Interceptor$Chain;)Lokhttp3/Response;
    	public final fun level (Lokhttp3/logging/HttpLoggingInterceptor$Level;)V
    	public final fun redactHeader (Ljava/lang/String;)V
    	public final fun redactQueryParams ([Ljava/lang/String;)V
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 15:15:46 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/job/LogNotificationJob.java

            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            final Map<String, List<LogNotificationEvent>> eventsByLevel =
                    events.stream().collect(Collectors.groupingBy(LogNotificationEvent::getLevel));
    
            for (final Map.Entry<String, List<LogNotificationEvent>> entry : eventsByLevel.entrySet()) {
                final String level = entry.getKey();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/util/LogNotificationAppender.java

                for (final String excluded : EXCLUDED_LOGGERS) {
                    if (loggerName.startsWith(excluded)) {
                        return;
                    }
                }
            }
    
            if (!event.getLevel().isMoreSpecificThan(getEffectiveMinLevel())) {
                return;
            }
    
            try {
                if (!ComponentUtil.getFessConfig().isLogNotificationEnabled()) {
                    return;
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 6K bytes
    - Click Count (0)
  5. android/guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java

      public void test() throws Exception {
        assertTrue(handler.getStoredLogRecords().isEmpty());
        ExampleClassUnderTest.foo();
        LogRecord record = handler.getStoredLogRecords().get(0);
        assertEquals(Level.INFO, record.getLevel());
        assertThat(record.getMessage()).isEqualTo("message");
        assertThat(record.getThrown()).isEqualTo(EXCEPTION);
      }
    
      public void testConcurrentModification() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/timer/LogNotificationTarget.java

                        final Map<String, Object> source = new HashMap<>();
                        source.put("hostname", hostname);
                        source.put("level", event.getLevel());
                        source.put("loggerName", event.getLoggerName());
                        source.put("message", event.getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/util/ErrorToWarnRewritePolicy.java

            for (final String name : loggerNames) {
                if (loggerName.startsWith(name)) {
                    final Level sourceLevel = event.getLevel();
                    if (sourceLevel != Level.ERROR) {
                        return event;
                    }
                    return new Log4jLogEvent.Builder(event).setLevel(Level.WARN).build();
                }
            }
            return event;
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  8. guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java

      public void test() throws Exception {
        assertTrue(handler.getStoredLogRecords().isEmpty());
        ExampleClassUnderTest.foo();
        LogRecord record = handler.getStoredLogRecords().get(0);
        assertEquals(Level.INFO, record.getLevel());
        assertThat(record.getMessage()).isEqualTo("message");
        assertThat(record.getThrown()).isEqualTo(EXCEPTION);
      }
    
      public void testConcurrentModification() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/util/LogStreamTest.java

            LogStream.setLevel(0);
            assertEquals(0, LogStream.level);
    
            LogStream.setLevel(1);
            assertEquals(1, LogStream.level);
    
            LogStream.setLevel(3);
            assertEquals(3, LogStream.level);
    
            LogStream.setLevel(10);
            assertEquals(10, LogStream.level);
    
            // Test negative level
            LogStream.setLevel(-1);
            assertEquals(-1, LogStream.level);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  10. okhttp-logging-interceptor/README.md

    ```java
    HttpLoggingInterceptor logging = new HttpLoggingInterceptor();
    logging.setLevel(Level.BASIC);
    OkHttpClient client = new OkHttpClient.Builder()
      .addInterceptor(logging)
      .build();
    ```
    
    You can change the log level at any time by calling `setLevel()`.
    
    To log to a custom location, pass a `Logger` instance to the constructor.
    ```java
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 1.3K bytes
    - Click Count (0)
Back to Top