- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 848 for loggers (0.1 sec)
-
guava/src/com/google/common/base/internal/Finalizer.java
* stop itself. */ // no @ElementTypesAreNonNullByDefault for the reasons discussed above public class Finalizer implements Runnable { private static final Logger logger = Logger.getLogger(Finalizer.class.getName()); /** Name of FinalizableReference.class. */ private static final String FINALIZABLE_REFERENCE = "com.google.common.base.FinalizableReference"; /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Aug 23 12:54:09 UTC 2023 - 9.4K bytes - Viewed (0) -
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) -
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) -
platforms/core-runtime/logging/src/test/groovy/org/gradle/api/logging/LoggingTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 2.8K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
platforms/core-runtime/logging-api/src/main/java/org/gradle/api/logging/Logging.java
*/ @SuppressWarnings("rawtypes") public static Logger getLogger(Class c) { return (Logger) LoggerFactory.getLogger(c); } /** * Returns the logger with the given name. * * @param name the logger name. * @return the logger. Never returns null. */ public static Logger getLogger(String name) { return (Logger) LoggerFactory.getLogger(name); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java
} if (logger.isDebugEnabled()) { try { ManagementFactory.getRuntimeMXBean().getInputArguments().stream().forEach(s -> logger.debug("Parameter: {}", s)); System.getProperties().entrySet().stream().forEach(e -> logger.debug("Property: {}={}", e.getKey(), e.getValue())); System.getenv().entrySet().forEach(e -> logger.debug("Env: {}={}", e.getKey(), e.getValue()));
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 8.2K bytes - Viewed (0)