Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 130 for getLogger (0.07 seconds)

  1. 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) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/plugin/DebugConfigurationListener.java

        /**
         * @deprecated Use {@link #DebugConfigurationListener(Logger)} instead.
         */
        @Deprecated
        public DebugConfigurationListener(org.codehaus.plexus.logging.Logger logger) {
            this(LoggerFactory.getLogger(logger.getName()));
        }
    
        public DebugConfigurationListener(Logger logger) {
            this.logger = logger;
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

    /**
     * Utilities for performing thread interruption in tests
     *
     * @author Kevin Bourrillion
     * @author Chris Povirk
     */
    @NullUnmarked
    final class InterruptionUtil {
      private static final Logger logger = Logger.getLogger(InterruptionUtil.class.getName());
    
      /** Runnable which will interrupt the target thread repeatedly when run. */
      private static final class Interruptenator implements Runnable {
        private final long everyMillis;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/Slf4jMavenTransferListener.java

     */
    @Deprecated
    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
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  5. 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
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.3K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformerSupport.java

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * Support class.
     */
    abstract class TransformerSupport implements PomArtifactTransformer {
        protected final Logger logger = LoggerFactory.getLogger(getClass());
    
        @Override
        public InstallRequest remapInstallArtifacts(RepositorySystemSession session, InstallRequest request) {
            return request;
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/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
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Dec 12 11:02:17 GMT 2024
    - 4K bytes
    - Click Count (0)
  8. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidLog.kt

          ule.printStackTrace()
        }
      }
    
      private fun enableLogging(
        logger: String,
        tag: String,
      ) {
        val logger = Logger.getLogger(logger)
        if (configuredLoggers.add(logger)) {
          logger.useParentHandlers = false
          // log based on levels at startup to avoid logging each frame
          logger.level =
            when {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Oct 25 11:16:17 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  9. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportAggregationWorkAction.kt

    import org.slf4j.LoggerFactory
    
    
    abstract class IncubatingApiReportAggregationWorkAction : WorkAction<IncubatingApiReportAggregationParameter> {
    
        companion object {
            val LOGGER: Logger = LoggerFactory.getLogger(IncubatingApiReportAggregationWorkAction::class.java.name) as Logger
            const val GITHUB_BASE_URL = "https://github.com/gradle/gradle/blob"
        }
    
        override fun execute() {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Jun 02 09:57:54 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  10. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/Cleanup.kt

    import org.gradle.kotlin.dsl.*
    import org.gradle.util.GradleVersion
    import java.io.File
    
    
    private
    val dirVersionPattern = "\\d+\\.\\d+(\\.\\d+)?(-\\w+)*(-\\d{14}[+-]\\d{4})?".toRegex()
    
    
    val logger = Logging.getLogger("gradlebuild.cleanup")
    
    
    /**
     * Removes state for versions that we're unlikely to ever need again, such as old snapshot versions.
     */
    @Suppress("LoopWithTooManyJumpStatements")
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jun 28 08:29:28 GMT 2024
    - 4.4K bytes
    - Click Count (0)
Back to Top