Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for isErrorEnabled (0.1 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. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/LogHelperImpl.java

        }
    
        protected void processDefault(final Object... objs) {
        }
    
        protected void processSystemError(final Object... objs) {
            final Throwable t = (Throwable) objs[0];
            if (logger.isErrorEnabled()) {
                logger.error("System Error.", t);
            }
        }
    
        protected void processNoRule(final Object... objs) {
            // CrawlerContext crawlerContext = (CrawlerContext) objs[0];
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  9. 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)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

                } else if (logger.isDebugEnabled()) {
                    LogStream.setLevel(3);
                } else if (logger.isWarnEnabled()) {
                    LogStream.setLevel(2);
                } else if (logger.isErrorEnabled()) {
                    LogStream.setLevel(1);
                } else {
                    LogStream.setLevel(0);
                }
            }
    
            LogStream.setInstance(new PrintStream(new OutputStream() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 18.9K bytes
    - Viewed (0)
Back to top