Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 100 for Level (0.06 sec)

  1. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/logging/Log.java

         * The stack trace for this exception will be output when this error level is enabled.
         *
         * @param error
         */
        void info(Throwable error);
    
        /**
         * @return true if the <b>warn</b> error level is enabled
         */
        boolean isWarnEnabled();
    
        /**
         * Send a message to the user in the <b>warn</b> error level.
         *
         * @param content
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jConfiguration.java

     * implementation.
     *
     * @since 3.1.0
     */
    public interface Slf4jConfiguration {
        /**
         * Level
         */
        enum Level {
            DEBUG,
            INFO,
            ERROR
        }
    
        /**
         * Set root logging level.
         *
         * @param level the level
         */
        void setRootLoggerLevel(Level level);
    
        /**
         * Activate logging implementation configuration (if necessary).
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/Utils.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;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/impl/LogbackConfiguration.java

        @Override
        public void setRootLoggerLevel(Level level) {
            ch.qos.logback.classic.Level value;
            switch (level) {
                case DEBUG:
                    value = ch.qos.logback.classic.Level.DEBUG;
                    break;
    
                case INFO:
                    value = ch.qos.logback.classic.Level.INFO;
                    break;
    
                default:
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ProtoLogger.java

        //
        // These are the only methods we need in our primordial logger
        //
    
        @Override
        public void log(Level level, String message, Throwable error) {
            PrintWriter pw = level == Level.ERROR ? err : level == Level.WARN ? out : null;
            if (pw != null) {
                pw.print(level.name() + " " + message);
                if (error != null) {
                    error.printStackTrace(pw);
                }
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionListener.java

         * This event means that the artifactScope has NOT been updated to a farther node artifactScope because current
         * node is in the first level pom
         *
         * @param artifact     current node artifact, the one in the first level pom
         * @param ignoredScope artifactScope that was ignored because artifact was in first level pom
         */
        void updateScopeCurrentPom(Artifact artifact, String ignoredScope);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. istioctl/pkg/proxyconfig/proxyconfig.go

    	labelSelector = ""
    	loggerName    string
    )
    
    // Level is an enumeration of all supported log levels.
    type Level int
    
    const (
    	defaultLoggerName       = "level"
    	defaultEnvoyOutputLevel = WarningLevel
    )
    
    const (
    	// OffLevel disables logging
    	OffLevel Level = iota
    	// CriticalLevel enables critical level logging
    	CriticalLevel
    	// ErrorLevel enables error level logging
    	ErrorLevel
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 15:53:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                if (context.loggerFactory instanceof LogLevelRecorder recorder) {
                    LogLevelRecorder.Level level =
                            switch (logLevelThreshold.toLowerCase(Locale.ENGLISH)) {
                                case "warn", "warning" -> LogLevelRecorder.Level.WARN;
                                case "error" -> LogLevelRecorder.Level.ERROR;
                                default -> throw new IllegalArgumentException(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/impl/Log4j2Configuration.java

    /**
     * Configuration for slf4j-log4j2.
     *
     * @since 3.1.0
     */
    public class Log4j2Configuration extends BaseSlf4jConfiguration {
        @Override
        public void setRootLoggerLevel(Level level) {
            String value;
            switch (level) {
                case DEBUG:
                    value = "debug";
                    break;
    
                case INFO:
                    value = "info";
                    break;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/impl/MavenSimpleConfiguration.java

    /**
     * Configuration for slf4j-simple.
     *
     * @since 3.1.0
     */
    public class MavenSimpleConfiguration extends BaseSlf4jConfiguration {
        @Override
        public void setRootLoggerLevel(Level level) {
            String value;
            switch (level) {
                case DEBUG:
                    value = "debug";
                    break;
    
                case INFO:
                    value = "info";
                    break;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top