Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for isInfoEnabled (0.14 sec)

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

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

        }
    
        @Override
        public void projectDiscoveryStarted(ExecutionEvent event) {
            if (logger.isInfoEnabled()) {
                init();
                logger.info("Scanning for projects...");
            }
        }
    
        @Override
        public void sessionStarted(ExecutionEvent event) {
            if (logger.isInfoEnabled() && event.getSession().getProjects().size() > 1) {
                init();
                infoLine('-');
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jStdoutLogger.java

        public void debug(Marker marker, String format, Object... arguments) {}
    
        public void debug(Marker marker, String msg, Throwable t) {}
    
        public boolean isInfoEnabled() {
            return false;
        }
    
        public void info(String msg) {}
    
        public void info(String format, Object arg) {}
    
        public void info(String format, Object arg1, Object arg2) {}
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jLogger.java

            logger.info(message);
        }
    
        public void info(String message, Throwable throwable) {
            setMdc();
            logger.info(message, throwable);
        }
    
        public boolean isInfoEnabled() {
            return logger.isInfoEnabled();
        }
    
        public void warn(String message) {
            setMdc();
            logger.warn(message);
        }
    
        public void warn(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)
  5. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/logging/SystemStreamLog.java

            // TODO Not sure how best to set these for this implementation...
            return false;
        }
    
        /**
         * @see org.apache.maven.plugin.logging.Log#isInfoEnabled()
         */
        public boolean isInfoEnabled() {
            return true;
        }
    
        /**
         * @see org.apache.maven.plugin.logging.Log#isWarnEnabled()
         */
        public boolean isWarnEnabled() {
            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)
  6. compat/maven-embedder/src/test/java/org/apache/maven/cli/event/ExecutionEventLoggerTest.java

        }
    
        @AfterAll
        static void tearDown() {
            MessageUtils.setColorEnabled(true);
        }
    
        @BeforeEach
        void beforeEach() {
            logger = mock(Logger.class);
            when(logger.isInfoEnabled()).thenReturn(true);
            executionEventLogger = new ExecutionEventLogger(messageBuilderFactory, logger);
        }
    
        @Test
        void testProjectStarted() {
            // prepare
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/logging/Log.java

         *
         * @param error
         */
        void debug(Throwable error);
    
        /**
         * @return true if the <b>info</b> error level is enabled
         */
        boolean isInfoEnabled();
    
        /**
         * Send a message to the user in the <b>info</b> error level.
         *
         * @param content
         */
        void info(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)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

            try {
                return new String(data, encoding == null ? Constants.UTF_8 : encoding);
            } catch (final UnsupportedEncodingException e) {
                if (logger.isInfoEnabled()) {
                    logger.info("Invalid charsetName: " + encoding + ". Changed to " + Constants.UTF_8, e);
                }
                return new String(data, Constants.UTF_8_CHARSET);
            }
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Oct 24 12:16:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top