Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 25 of 25 for setLevel (0.04 sec)

  1. docs/changelogs/changelog_2x.md

           <version>2.6.0</version>
         </dependency>
         ```
    
        Configure basic logging like this:
    
        ```java
        HttpLoggingInterceptor loggingInterceptor = new HttpLoggingInterceptor();
        loggingInterceptor.setLevel(HttpLoggingInterceptor.Level.BASIC);
        client.networkInterceptors().add(loggingInterceptor);
        ```
    
        **Warning:** Avoid `Level.HEADERS` and `Level.BODY` in production because
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  2. 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());
        assertEquals("message", record.getMessage());
        assertSame(EXCEPTION, record.getThrown());
      }
    
      public void testConcurrentModification() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/log/Logger.java

         *            Exception
         */
        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 Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/audit/SecurityAuditLogger.java

         */
        public void logEvent(EventType type, Severity severity, String message, Map<String, Object> context) {
            // Check minimum log level filter
            if (severity.getLevel() < minLogLevel.getLevel()) {
                return;
            }
    
            // Rate limiting check
            if (!checkRateLimit(type)) {
                return;
            }
    
            try {
                // Update statistics
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top