Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for isWarnEnabled (0.16 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLog.java

            }
        }
    
        @Override
        public void warn(CharSequence content) {
            if (isWarnEnabled()) {
                logger.warn(toString(content));
            }
        }
    
        @Override
        public void warn(CharSequence content, Throwable error) {
            if (isWarnEnabled()) {
                logger.warn(toString(content), error);
            }
        }
    
        @Override
    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/Slf4jStdoutLogger.java

        public void info(Marker marker, String format, Object... arguments) {}
    
        public void info(Marker marker, String msg, Throwable t) {}
    
        public boolean isWarnEnabled() {
            return false;
        }
    
        public void warn(String msg) {}
    
        public void warn(String format, Object arg) {}
    
        public void warn(String format, Object... arguments) {}
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/log/JclLoggerAdapter.java

        }
    
        @Override
        public void error(final String message, final Throwable t) {
            logger.error(message, t);
        }
    
        @Override
        public boolean isWarnEnabled() {
            return logger.isWarnEnabled();
        }
    
        @Override
        public void warn(final String message) {
            logger.warn(message);
        }
    
        @Override
        public void warn(final String message, final Throwable t) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

                    // The first definition wins.
                    Lifecycle original = phaseToLifecycleMap.put(phase, lifecycle);
                    if (original != null && logger.isWarnEnabled()) {
                        logger.warn(
                                "Duplicated lifecycle phase {}. Defined in {} but also in {}",
                                phase,
                                original.getId(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jLogger.java

            logger.warn(message);
        }
    
        public void warn(String message, Throwable throwable) {
            setMdc();
            logger.warn(message, throwable);
        }
    
        public boolean isWarnEnabled() {
            return logger.isWarnEnabled();
        }
    
        public void error(String message) {
            setMdc();
            logger.error(message);
        }
    
        public void error(String message, Throwable throwable) {
            setMdc();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/logging/SystemStreamLog.java

         */
        public boolean isInfoEnabled() {
            return true;
        }
    
        /**
         * @see org.apache.maven.plugin.logging.Log#isWarnEnabled()
         */
        public boolean isWarnEnabled() {
            return true;
        }
    
        /**
         * @see org.apache.maven.plugin.logging.Log#isErrorEnabled()
         */
        public boolean isErrorEnabled() {
            return true;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/log/LoggerAdapter.java

        void fatal(String message);
    
        void fatal(String message, Throwable t);
    
        boolean isErrorEnabled();
    
        void error(String message);
    
        void error(String message, Throwable t);
    
        boolean isWarnEnabled();
    
        void warn(String message);
    
        void warn(String message, Throwable t);
    
        boolean isInfoEnabled();
    
        void info(String message);
    
        void info(String message, Throwable t);
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/filter/impl/UrlFilterImpl.java

         */
        @Override
        public void addExclude(final String urlPattern) {
            try {
                Pattern.compile(urlPattern);
            } catch (final Exception e) {
                if (logger.isWarnEnabled()) {
                    logger.warn("Invalid exclude pattern: {}", urlPattern);
                }
                return;
            }
            if (sessionId == null) {
                cachedExcludeSet.add(urlPattern);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/CrawlingAccessException.java

        }
    
        public boolean isDebugEnabled() {
            return DEBUG.equals(logLevel);
        }
    
        public boolean isInfoEnabled() {
            return INFO.equals(logLevel);
        }
    
        public boolean isWarnEnabled() {
            return WARN.equals(logLevel);
        }
    
        public boolean isErrorEnabled() {
            return ERROR.equals(logLevel);
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/log/JulLoggerAdapter.java

        }
    
        @Override
        public void error(final String message, final Throwable t) {
            logger.logp(Level.SEVERE, sourceClass, null, message, t);
        }
    
        @Override
        public boolean isWarnEnabled() {
            return logger.isLoggable(Level.WARNING);
        }
    
        @Override
        public void warn(final String message) {
            logger.logp(Level.WARNING, sourceClass, null, message);
        }
    
        @Override
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top