Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getILoggerFactory (0.11 sec)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/impl/MavenSimpleConfiguration.java

                    break;
            }
            System.setProperty("org.slf4j.simpleLogger.defaultLogLevel", value);
        }
    
        @Override
        public void activate() {
            ILoggerFactory lf = LoggerFactory.getILoggerFactory();
            if (lf instanceof MavenLoggerFactory mlf) {
                mlf.reconfigure();
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jLoggerManager.java

     *
     * @since 3.1
     */
    public class Slf4jLoggerManager implements LoggerManager {
    
        private ILoggerFactory loggerFactory;
    
        public Slf4jLoggerManager() {
            loggerFactory = LoggerFactory.getILoggerFactory();
        }
    
        public Logger getLoggerForComponent(String role) {
            return new Slf4jLogger(loggerFactory.getLogger(role));
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

                init();
                if (event.getSession().getProjects().size() > 1) {
                    logReactorSummary(event.getSession());
                }
    
                ILoggerFactory iLoggerFactory = LoggerFactory.getILoggerFactory();
    
                if (iLoggerFactory instanceof org.apache.maven.logging.api.LogLevelRecorder recorder
                        && recorder.hasReachedMaxLevel()) {
                    event.getSession()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                if (isBatchMode || commandLine.hasOption(CLIManager.LOG_FILE)) {
                    MessageUtils.setColorEnabled(false);
                }
            }
    
            slf4jLoggerFactory = LoggerFactory.getILoggerFactory();
            Slf4jConfiguration slf4jConfiguration = Slf4jConfigurationFactory.getConfiguration(slf4jLoggerFactory);
    
            if (cliRequest.verbose) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                if (isBatchMode || mavenOptions.logFile().isPresent()) {
                    context.coloredOutput = false;
                }
            }
    
            context.loggerFactory = LoggerFactory.getILoggerFactory();
            context.slf4jConfiguration = Slf4jConfigurationFactory.getConfiguration(context.loggerFactory);
    
            context.loggerLevel = Slf4jConfiguration.Level.INFO;
            if (mavenOptions.verbose().orElse(false)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
Back to top