Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 138 for level (0.02 seconds)

  1. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Logger.java

         *
         * @param level the severity level of the message
         * @param message the message to be logged
         */
        default void log(@Nonnull Level level, @Nonnull String message) {
            log(level, message, null);
        }
    
        /**
         * Logs a message at the specified level with an associated exception.
         *
         * @param level the severity level of the message
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 5K bytes
    - Click Count (0)
  2. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidLog.kt

        if (configuredLoggers.add(logger)) {
          logger.useParentHandlers = false
          // log based on levels at startup to avoid logging each frame
          logger.level =
            when {
              Log.isLoggable(tag, Log.DEBUG) -> Level.FINE
              Log.isLoggable(tag, Log.INFO) -> Level.INFO
              else -> Level.WARNING
            }
          logger.addHandler(AndroidLogHandler)
        }
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Oct 25 11:16:17 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/LookupInvokerLoggingTest.java

            int setRootLoggerLevelCallCount = 0;
            Level lastSetLevel = null;
    
            @Override
            public void setRootLoggerLevel(Level level) {
                setRootLoggerLevelCallCount++;
                lastSetLevel = level;
    
                // Simulate what MavenSimpleConfiguration does
                String value =
                        switch (level) {
                            case DEBUG -> "debug";
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Oct 08 21:10:33 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  4. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

        assertThat(applicationInterceptor.level).isEqualTo(Level.NONE)
        for (level in Level.entries) {
          applicationInterceptor.setLevel(level)
          assertThat(applicationInterceptor.level).isEqualTo(level)
        }
      }
    
      @Test
      fun setLevelShouldReturnSameInstanceOfInterceptor() {
        for (level in Level.entries) {
          assertThat(applicationInterceptor.setLevel(level)).isSameInstanceAs(applicationInterceptor)
        }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Nov 07 02:57:33 GMT 2025
    - 39.4K bytes
    - Click Count (0)
  5. okhttp-logging-interceptor/api/logging-interceptor.api

    	public static final field BODY Lokhttp3/logging/HttpLoggingInterceptor$Level;
    	public static final field HEADERS Lokhttp3/logging/HttpLoggingInterceptor$Level;
    	public static final field NONE Lokhttp3/logging/HttpLoggingInterceptor$Level;
    	public static fun getEntries ()Lkotlin/enums/EnumEntries;
    	public static fun valueOf (Ljava/lang/String;)Lokhttp3/logging/HttpLoggingInterceptor$Level;
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 15:15:46 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  6. .github/workflows/build.yml

            with:
              api-level: ${{ matrix.api-level }}
              arch: ${{ matrix.api-level == '34' && 'x86_64' || 'x86' }}
              script: ./gradlew :android-test:connectedCheck
            env:
              API_LEVEL: ${{ matrix.api-level }}
    
          - name: Run Release Tests
            uses: reactivecircus/android-emulator-runner@v2
            with:
              api-level: ${{ matrix.api-level }}
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 12 04:49:37 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  7. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

          message = "moved to var",
          replaceWith = ReplaceWith(expression = "level"),
          level = DeprecationLevel.ERROR,
        )
        fun getLevel(): Level = level
    
        @Throws(IOException::class)
        override fun intercept(chain: Interceptor.Chain): Response {
          val level = this.level
    
          val request = chain.request()
          if (level == Level.NONE) {
            return chain.proceed(request)
          }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Nov 07 02:57:33 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CliUtils.java

                    }
                }
                return null;
            };
        }
    
        public static int toMavenExecutionRequestLoggingLevel(Slf4jConfiguration.Level level) {
            requireNonNull(level, "level");
            return switch (level) {
                case DEBUG -> MavenExecutionRequest.LOGGING_LEVEL_DEBUG;
                case INFO -> MavenExecutionRequest.LOGGING_LEVEL_INFO;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 13 18:30:29 GMT 2025
    - 5K bytes
    - Click Count (0)
  9. logger/slog.go

    			Key:   "trace",
    			Value: slog.GroupValue(fields...),
    		})
    	}
    }
    
    func (l *slogLogger) log(ctx context.Context, level slog.Level, msg string, args ...any) {
    	if ctx == nil {
    		ctx = context.Background()
    	}
    
    	if !l.Logger.Enabled(ctx, level) {
    		return
    	}
    
    	r := slog.NewRecord(time.Now(), level, msg, utils.CallerFrame().PC)
    	r.Add(args...)
    	_ = l.Logger.Handler().Handle(ctx, r)
    }
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Oct 30 10:56:26 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/logging/impl/MavenSimpleConfiguration.java

        private static final Logger LOGGER = LoggerFactory.getLogger(MavenSimpleConfiguration.class);
    
        @Override
        public void setRootLoggerLevel(Level level) {
            String value =
                    switch (level) {
                        case DEBUG -> "debug";
                        case INFO -> "info";
                        case ERROR -> "error";
                    };
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Oct 08 21:10:33 GMT 2025
    - 2.2K bytes
    - Click Count (0)
Back to Top