Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for SetLogger (0.74 sec)

  1. src/testing/internal/testdeps/deps.go

    		// will call StartTestLog/StopTestLog multiple times.
    		// Checking log.set avoids calling testlog.SetLogger multiple times
    		// (which will panic) and also avoids writing the header multiple times.
    		log.set = true
    		testlog.SetLogger(&log)
    		log.w.WriteString("# test log\n") // known to cmd/go/internal/test/test.go
    	}
    	log.mu.Unlock()
    }
    
    func (TestDeps) StopTestLog() error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. platforms/software/resources-sftp/src/main/java/org/gradle/internal/resource/transport/sftp/SftpClientFactory.java

    import java.util.ArrayList;
    import java.util.List;
    
    @ThreadSafe
    @ServiceScope(Scope.Global.class)
    public class SftpClientFactory implements Stoppable {
        private static final Logger LOGGER = LoggerFactory.getLogger(SftpClientFactory.class);
    
        private SftpClientCreator sftpClientCreator = new SftpClientCreator();
        private final Object lock = new Object();
        private final List<LockableSftpClient> allClients = new ArrayList<>();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. platforms/software/testing-base-infrastructure/src/integTest/resources/org/gradle/api/internal/tasks/testing/JULRedirectorIntegrationTest/loggingConfig/src/main/java/com/example/LumberJack.java

    package com.example;
    
    import java.util.logging.Logger;
    
    public class LumberJack {
        private static final Logger ROOT = Logger.getLogger("");
        private static final Logger OAK = Logger.getLogger("oak");
        private static final Logger ELM = Logger.getLogger("elm");
        private static final Logger ELMER = Logger.getLogger("elm.er");
    
        public void sing() {
            ROOT.fine("Oh, I'm a lumberjack, and I'm okay.");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/redirector/JULRedirectorTest.groovy

        private final StandardOutputRedirector.OutputListener stdErrListener = Mock()
        private final Logger logger1 = Logger.getLogger("")
        private final Logger logger2 = Logger.getLogger("hello")
        private final Logger logger3 = Logger.getLogger("hello.world")
        private static String savedJULConfigClassProperty = null;
    
        public static class DummyFormatter extends Formatter {
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/tasks/ValidatePlugins.java

            if (problems.isEmpty()) {
                getLogger().info("Plugin validation finished without warnings.");
            } else {
                if (getFailOnWarning().get() || problems.stream().anyMatch(problem -> problem.getDefinition().getSeverity() == ERROR)) {
                    if (getIgnoreFailures().get()) {
                        getLogger().warn("Plugin validation finished with errors. {} {}",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 04 07:42:50 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/LoggerCodec.kt

    object LoggerCodec : Codec<Logger> {
    
        override suspend fun WriteContext.encode(value: Logger) {
            writeString(value.name)
        }
    
        override suspend fun ReadContext.decode(): Logger? =
            LoggerFactory.getLogger(readString())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. platforms/core-runtime/logging/src/main/java/org/gradle/internal/featurelifecycle/LoggingIncubatingFeatureHandler.java

    import java.util.HashSet;
    import java.util.Set;
    
    public class LoggingIncubatingFeatureHandler implements FeatureHandler<IncubatingFeatureUsage> {
        private static final Logger LOGGER = LoggerFactory.getLogger(LoggingIncubatingFeatureHandler.class);
    
        private final Set<String> features = new HashSet<String>();
    
        @Override
        public void featureUsed(IncubatingFeatureUsage usage) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/DefaultContextAwareTaskLoggerCodec.kt

            }
        }
    
        override suspend fun ReadContext.decode(): DefaultContextAwareTaskLogger =
            decodePreservingIdentity { id ->
                DefaultContextAwareTaskLogger(Logging.getLogger(Task::class.java)).also { logger ->
                    read()?.let { rewriter ->
                        logger.messageRewriter = rewriter as MessageRewriter
                    }
                    isolate.identities.putInstance(id, logger)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/redirector/JULRedirector.java

            if (!reset) {
                LogManager.getLogManager().reset();
                try {
                    LogManager.getLogManager().readConfiguration();
                } catch (IOException error) {
                    Logger.getLogger("").addHandler(new ConsoleHandler());
                }
                reset = true;
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache-base/src/main/kotlin/org/gradle/internal/cc/base/Logging.kt

     */
    
    package org.gradle.internal.cc.base
    
    import org.gradle.api.logging.Logger
    import org.gradle.api.logging.Logging
    
    
    /**
     * Configuration Cache logger.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 842 bytes
    - Viewed (0)
Back to top