Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for getLogger (0.09 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                try {
                    metadata = readMetadata(metadataFile);
                } catch (RepositoryMetadataReadException e) {
                    if (getLogger().isDebugEnabled()) {
                        getLogger().warn(e.getMessage(), e);
                    } else {
                        getLogger().warn(e.getMessage());
                    }
                    return setRepository;
                }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

            if (!policy.isEnabled()) {
                if (getLogger().isDebugEnabled()) {
                    getLogger()
                            .debug("Skipping update check for " + artifact + " (" + file + ") from " + repository.getId()
                                    + " (" + repository.getUrl() + ")");
                }
    
                return false;
            }
    
            if (getLogger().isDebugEnabled()) {
                getLogger()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jLoggerManager.java

        public Slf4jLoggerManager() {
            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)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/AbstractVersionTransformation.java

                    } else {
                        message += " from local repository";
                    }
                    getLogger().debug(message);
                } else {
                    // Locally installed file is newer, don't use the resolved version
                    getLogger().debug(artifact.getArtifactId() + ": using locally installed snapshot");
                }
            }
            return version;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchainsBuilder.java

     */
    @Deprecated
    @Named("default")
    @Singleton
    public class DefaultToolchainsBuilder implements ToolchainsBuilder {
        private final Logger logger = LoggerFactory.getLogger(getClass());
    
        public PersistedToolchains build(File userToolchainsFile) throws MisconfiguredToolchainException {
            PersistedToolchains toolchains = null;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/BaseSlf4jConfiguration.java

    import org.slf4j.LoggerFactory;
    
    /**
     * Abstract implementation.
     *
     * @since 3.1.0
     */
    public class BaseSlf4jConfiguration implements Slf4jConfiguration {
        private static final Logger LOGGER = LoggerFactory.getLogger(BaseSlf4jConfiguration.class);
    
        public void setRootLoggerLevel(Level level) {
            LOGGER.warn("setRootLoggerLevel: operation not supported");
        }
    
        public void activate() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/impl/LogbackConfiguration.java

                    break;
    
                default:
                    value = ch.qos.logback.classic.Level.ERROR;
                    break;
            }
            ((ch.qos.logback.classic.Logger) LoggerFactory.getLogger(Logger.ROOT_LOGGER_NAME)).setLevel(value);
        }
    
        @Override
        public void activate() {
            // no op
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/DistributionManagementArtifactRelocationSource.java

    public final class DistributionManagementArtifactRelocationSource implements MavenArtifactRelocationSource {
        public static final String NAME = "distributionManagement";
        private static final Logger LOGGER = LoggerFactory.getLogger(DistributionManagementArtifactRelocationSource.class);
    
        @Override
        public Artifact relocatedTarget(
                RepositorySystemSession session, ArtifactDescriptorResult artifactDescriptorResult, Model model) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/Slf4jMavenTransferListener.java

     */
    public class Slf4jMavenTransferListener extends AbstractTransferListener {
    
        protected final Logger out;
    
        public Slf4jMavenTransferListener() {
            this.out = LoggerFactory.getLogger(Slf4jMavenTransferListener.class);
        }
    
        // TODO should we deprecate?
        public Slf4jMavenTransferListener(Logger out) {
            this.out = out;
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyDispatcher.java

    import org.slf4j.LoggerFactory;
    
    /**
     * Dispatches callbacks to all registered EventSpies.
     * @since 3.0.2
     */
    @Named
    @Singleton
    public class EventSpyDispatcher {
        private final Logger logger = LoggerFactory.getLogger(getClass());
    
        private final List<EventSpy> eventSpies;
    
        @Inject
        public EventSpyDispatcher(List<EventSpy> eventSpies) {
            // make copy to get rid of needless overhead for dynamic lookups
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top