Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for isErrorEnabled (0.17 sec)

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

            }
        }
    
        @Override
        public void error(CharSequence content) {
            if (isErrorEnabled()) {
                logger.error(toString(content));
            }
        }
    
        @Override
        public void error(CharSequence content, Throwable error) {
            if (isErrorEnabled()) {
                logger.error(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 boolean isErrorEnabled() {
            return false;
        }
    
        public void error(String format, Object arg) {}
    
        public void error(String format, Object arg1, Object arg2) {}
    
        public void error(String format, Object... arguments) {}
    
        public boolean isErrorEnabled(Marker marker) {
            return false;
        }
    
    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. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jLogger.java

            logger.error(message);
        }
    
        public void error(String message, Throwable throwable) {
            setMdc();
            logger.error(message, throwable);
        }
    
        public boolean isErrorEnabled() {
            return logger.isErrorEnabled();
        }
    
        public void fatalError(String message) {
            setMdc();
            logger.error(message);
        }
    
        public void fatalError(String message, Throwable throwable) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/log/JclLoggerAdapter.java

        }
    
        @Override
        public void fatal(final String message, final Throwable t) {
            logger.fatal(message, t);
        }
    
        @Override
        public boolean isErrorEnabled() {
            return logger.isErrorEnabled();
        }
    
        @Override
        public void error(final String message) {
            logger.error(message);
        }
    
        @Override
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/logging/SystemStreamLog.java

         */
        public boolean isWarnEnabled() {
            return true;
        }
    
        /**
         * @see org.apache.maven.plugin.logging.Log#isErrorEnabled()
         */
        public boolean isErrorEnabled() {
            return true;
        }
    
        private void print(String prefix, CharSequence content) {
            System.out.println("[" + prefix + "] " + content.toString());
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/log/LoggerAdapter.java

     *
     * @author koichik
     */
    interface LoggerAdapter {
    
        boolean isFatalEnabled();
    
        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);
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/CrawlingAccessException.java

        }
    
        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)
  8. src/main/java/org/codelibs/core/log/JulLoggerAdapter.java

        }
    
        @Override
        public void fatal(final String message, final Throwable t) {
            logger.logp(Level.SEVERE, sourceClass, null, message, t);
        }
    
        @Override
        public boolean isErrorEnabled() {
            return logger.isLoggable(Level.SEVERE);
        }
    
        @Override
        public void error(final String message) {
            logger.logp(Level.SEVERE, 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)
  9. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/logging/Log.java

         *
         * @param error
         */
        void warn(Throwable error);
    
        /**
         * @return true if the <b>error</b> error level is enabled
         */
        boolean isErrorEnabled();
    
        /**
         * Send a message to the user in the <b>error</b> error level.
         *
         * @param content
         */
        void error(CharSequence 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)
  10. src/main/java/org/codelibs/fess/helper/CrawlerLogHelper.java

            } else if (cae.isWarnEnabled()) {
                logger.warn("[{}] Crawling Access Exception at {}", failureUrlId, urlQueue.getUrl(), cae);
            } else if (cae.isErrorEnabled()) {
                logger.error("[{}] Crawling Access Exception at {}", failureUrlId, urlQueue.getUrl(), cae);
            }
    
            ComponentUtil.getCrawlerStatsHelper().record(urlQueue, StatsAction.ACCESS_EXCEPTION);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top