Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,074 for loggers (0.16 sec)

  1. internal/logger/logonce.go

    package logger
    
    import (
    	"context"
    	"errors"
    	"sync"
    	"time"
    )
    
    // LogOnce provides the function type for logger.LogOnceIf() function
    type LogOnce func(ctx context.Context, err error, id string, errKind ...interface{})
    
    type onceErr struct {
    	Err   error
    	Count int
    }
    
    // Holds a map of recently logged errors.
    type logOnceType struct {
    	IDMap map[string]onceErr
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. cmd/namespace-lock.go

    // volume, path and operation ID.
    func (n *nsLockMap) NewNSLock(lockers func() ([]dsync.NetLocker, string), volume string, paths ...string) RWLocker {
    	opsID := mustGetUUID()
    	if n.isDistErasure {
    		drwmutex := dsync.NewDRWMutex(&dsync.Dsync{
    			GetLockers: lockers,
    			Timeouts:   dsync.DefaultTimeouts,
    		}, pathsJoinPrefix(volume, paths...)...)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 05 23:56:35 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/project/antbuilder/ClassPathToClassLoaderCache.java

    import org.gradle.internal.Factory;
    import org.gradle.internal.UncheckedException;
    import org.gradle.internal.classpath.ClassPath;
    import org.gradle.internal.concurrent.Stoppable;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import java.util.HashSet;
    import java.util.Map;
    import java.util.Set;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.locks.Lock;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 7K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/test/groovy/org/gradle/api/logging/LoggingTest.groovy

        }
    
        def routesLogMessagesViaSlf4j() {
            Logger logger = Logging.getLogger(LoggingTest.class)
    
            when:
            logger.debug("debug")
            logger.info("info")
            logger.warn("warn")
            logger.lifecycle("lifecycle")
            logger.error("error")
            logger.quiet("quiet")
            logger.log(LogLevel.LIFECYCLE, "lifecycle via level")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/plugin/internal/MojoLogWrapper.java

    import org.slf4j.Logger;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     */
    public class MojoLogWrapper implements Log {
        private final Logger logger;
    
        public MojoLogWrapper(Logger logger) {
            this.logger = requireNonNull(logger);
        }
    
        public void debug(CharSequence content) {
            if (isDebugEnabled()) {
                logger.debug(toString(content));
            }
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Sep 22 09:07:17 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. src/test/resources/log4j.properties

    #log4j.logger.jcifs.smb.SmbTreeConnection: DEBUG
    #log4j.logger.jcifs.smb.SmbTransportImpl: DEBUG
    #log4j.logger.jcifs.util.transport.Transport: DEBUG
    #log4j.logger.jcifs.smb.DfsImpl: DEBUG
    #log4j.logger.jcifs.smb: DEBUG
    #log4j.logger.jcifs.smb.SmbFileOutputStream: TRACE
    #log4j.logger.jcifs.smb.SigningDigest: TRACE
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 806 bytes
    - Viewed (0)
  7. tests/tracer_test.go

    import (
    	"context"
    	"time"
    
    	"gorm.io/gorm/logger"
    )
    
    type Tracer struct {
    	Logger logger.Interface
    	Test   func(ctx context.Context, begin time.Time, fc func() (sql string, rowsAffected int64), err error)
    }
    
    func (S Tracer) LogMode(level logger.LogLevel) logger.Interface {
    	return S.Logger.LogMode(level)
    }
    
    func (S Tracer) Info(ctx context.Context, s string, i ...interface{}) {
    	S.Logger.Info(ctx, s, i...)
    }
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Oct 18 09:28:06 UTC 2022
    - 830 bytes
    - Viewed (0)
  8. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/caching/impl/DefaultCachingStateFactory.java

    import org.gradle.internal.hash.Hasher;
    import org.gradle.internal.hash.Hashing;
    import org.slf4j.Logger;
    
    public class DefaultCachingStateFactory implements CachingStateFactory {
        private final Logger logger;
    
        public DefaultCachingStateFactory(Logger logger) {
            this.logger = logger;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:15:24 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. platforms/jvm/jvm-services/src/test/groovy/org/gradle/internal/jvm/inspection/JvmInstallationProblemReporterTest.groovy

        def location = new TestFile("location")
        def logger = Mock(Logger)
    
        def "only reports problems once"() {
            when:
            problemReporter.reportProblemIfNeeded(logger, InstallationLocation.userDefined(location, "source"), "message")
            problemReporter.reportProblemIfNeeded(logger, InstallationLocation.userDefined(location, "source"), "message")
            then:
            1 * logger.log(LogLevel.WARN, "message")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/log/LoggerTest.java

         */
        @Rule
        public ExpectedException exception = ExpectedException.none();
    
        private final Logger logger = Logger.getLogger(getClass());
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetLogger() throws Exception {
            assertThat(Logger.getLogger(getClass()), is(sameInstance(Logger.getLogger(getClass()))));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top