Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 836 for logger (0.03 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/utils/CLIReportingUtils.java

        }
    
        public static void showError(Logger logger, String message, Throwable e, boolean showStackTrace) {
            if (logger == null) {
                System.err.println(message);
                if (showStackTrace && e != null) {
                    e.printStackTrace(System.err);
                }
                return;
            }
            if (showStackTrace) {
                logger.error(message, e);
            } else {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Feb 10 15:02:53 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  2. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java

         *
         * @return the command (human) name
         */
        @Nonnull
        String commandName();
    
        /**
         * Returns the logger to be used during the parsing process.
         *
         * @return the logger instance
         */
        @Nonnull
        Logger logger();
    
        /**
         * Returns the factory for creating message builders.
         *
         * @return the message builder factory
         */
        @Nonnull
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerFactory.java

    import org.slf4j.Logger;
    
    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    public class ToolchainManagerFactory {
    
        private final Lookup lookup;
        private final Logger logger;
    
        @Inject
        ToolchainManagerFactory(Lookup lookup) {
            this(lookup, null);
        }
    
        protected ToolchainManagerFactory(Lookup lookup, Logger logger) {
            this.lookup = lookup;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 31 10:58:52 GMT 2025
    - 11K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainFactory.java

     * @deprecated Use {@link org.apache.maven.api.services.ToolchainFactory} instead.
     */
    @Deprecated(since = "4.0.0")
    public class JavaToolchainFactory implements ToolchainFactory {
        private final Logger logger = LoggerFactory.getLogger(getClass());
    
        @Override
        public ToolchainPrivate createToolchain(ToolchainModel model) throws MisconfiguredToolchainException {
            if (model == null) {
                return null;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

    import java.util.concurrent.TimeUnit;
    import java.util.logging.Logger;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * 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());
    
    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)
  6. compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainImpl.java

        private String javaHome;
    
        public static final String KEY_JAVAHOME = "jdkHome"; // NOI18N
    
        JavaToolchainImpl(ToolchainModel model, Logger logger) {
            super(model, "jdk", logger);
        }
    
        public String getJavaHome() {
            return javaHome;
        }
    
        public void setJavaHome(String javaHome) {
            this.javaHome = javaHome;
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/project/collector/MultiModuleCollectionStrategy.java

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * Strategy for collecting Maven projects from the multi-module project root, even when executed in a submodule.
     */
    @Named("MultiModuleCollectionStrategy")
    @Singleton
    public class MultiModuleCollectionStrategy implements ProjectCollectionStrategy {
        private static final Logger LOGGER = LoggerFactory.getLogger(MultiModuleCollectionStrategy.class);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  8. internal/crypto/key_test.go

    	{ExtKey: [32]byte{}, Random: shortRandom(31), ShouldPass: false}, // 3
    }
    
    func TestGenerateKey(t *testing.T) {
    	defer func(l bool) { logger.DisableLog = l }(logger.DisableLog)
    	logger.DisableLog = true
    
    	for i, test := range generateKeyTests {
    		i, test := i, test
    		func() {
    			defer recoverTest(i, test.ShouldPass, t)
    			key := GenerateKey(test.ExtKey[:], test.Random)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jul 12 20:51:54 GMT 2024
    - 6.7K bytes
    - Click Count (0)
  9. internal/store/store.go

    func StreamItems[I any](store Store[I], target Target, doneCh <-chan struct{}, logger logger) {
    	go func() {
    		keyCh := replayItems(store, doneCh, logger, target.Name())
    		sendItems(target, keyCh, doneCh, logger)
    	}()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt

              connectionCount.incrementAndGet()
              service(socket)
            }
          } catch (e: SocketException) {
            logger.info("$threadName done accepting connections: ${e.message}")
          } catch (e: IOException) {
            logger.log(Level.WARNING, "$threadName failed unexpectedly", e)
          } finally {
            for (socket in openSockets) {
              socket.closeQuietly()
            }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon May 05 16:01:00 GMT 2025
    - 7.6K bytes
    - Click Count (0)
Back to Top