Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 132 for Logger (0.11 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DebugResolutionListener.java

            this.logger = logger;
        }
    
        public void testArtifact(Artifact node) {}
    
        public void startProcessChildren(Artifact artifact) {
            indent += "  ";
        }
    
        public void endProcessChildren(Artifact artifact) {
            indent = indent.substring(2);
        }
    
        public void includeArtifact(Artifact artifact) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/aether/LoggingRepositoryListener.java

    import org.slf4j.Logger;
    
    /**
     */
    class LoggingRepositoryListener extends AbstractRepositoryListener {
    
        private final Logger logger;
    
        LoggingRepositoryListener(Logger logger) {
            this.logger = logger;
        }
    
        @Override
        public void artifactInstalling(RepositoryEvent event) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

        }
    
        public ExecutionEventLogger(MessageBuilderFactory messageBuilderFactory, Logger logger) {
            this(messageBuilderFactory, logger, -1);
        }
    
        public ExecutionEventLogger(MessageBuilderFactory messageBuilderFactory, Logger logger, int terminalWidth) {
            this.logger = Objects.requireNonNull(logger, "logger cannot be null");
            this.messageBuilderFactory = messageBuilderFactory;
    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. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLog.java

    import org.apache.maven.api.plugin.Log;
    import org.slf4j.Logger;
    
    import static java.util.Objects.requireNonNull;
    
    public class DefaultLog implements Log {
        private final Logger logger;
    
        public DefaultLog(Logger logger) {
            this.logger = requireNonNull(logger);
        }
    
        public void debug(CharSequence content) {
            if (isDebugEnabled()) {
                logger.debug(toString(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)
  5. compat/maven-embedder/src/test/java/org/apache/maven/cli/event/ExecutionEventLoggerTest.java

            // verify
            InOrder inOrder = inOrder(logger);
            inOrder.verify(logger).info("");
            inOrder.verify(logger).info("------------------< org.apache.maven:maven-embedder >-------------------");
            inOrder.verify(logger).info("Building Apache Maven Embedder 3.5.4-SNAPSHOT");
            inOrder.verify(logger).info(adaptDirSeparator("  from maven-embedder/pom.xml"));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

    @Named
    @Singleton
    public class DefaultLifecycles {
        public static final String[] STANDARD_LIFECYCLES = {"clean", "default", "site"};
    
        private final Logger logger = LoggerFactory.getLogger(getClass());
    
        // @Configuration(source="org/apache/maven/lifecycle/lifecycles.xml")
    
        private final Lookup lookup;
    
        private final LifecycleRegistry registry;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/site/apt/logging.apt

    +-----+
    
    * Logger Name
    
     Logger name is basically the classical fully qualified class name: it's not visible by default, but can be activated (see {{{/maven-logging.html}user documentation}}).
    
     Notice that before Maven 3.1.0, with logger created by Maven, some code used to pass logger from class to class because it could not create a new logger:
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

            R invokerRequest = context.invokerRequest;
            Logger logger = context.logger;
            if (invokerRequest.options().relaxedChecksums().orElse(false)) {
                logger.info("Disabling strict checksum verification on all artifact downloads.");
            } else if (invokerRequest.options().strictChecksums().orElse(false)) {
                logger.info("Enabling strict checksum verification on all artifact downloads.");
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

                    Logger logger) {
                this.valueSources = valueSources;
                this.postProcessors = postProcessors;
                this.debugEnabled = debugEnabled;
    
                this.interpolationTargets = new LinkedList<>();
                interpolationTargets.add(target);
    
                this.modelInterpolator = modelInterpolator;
                this.logger = logger;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jLoggerManager.java

            loggerFactory = LoggerFactory.getILoggerFactory();
        }
    
        public Logger getLoggerForComponent(String role) {
            return new Slf4jLogger(loggerFactory.getLogger(role));
        }
    
        /**
         * The logger name for a component with a non-null hint is <code>role.hint</code>.
         * <b>Warning</b>: this does not conform to logger name as class name convention.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top