Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 1,154 for loggers (0.05 seconds)

  1. src/main/java/org/codelibs/core/io/CloseableUtil.java

         */
        protected CloseableUtil() {
        }
    
        private static final Logger logger = Logger.getLogger(CloseableUtil.class);
    
        /**
         * Closes a {@link Closeable}.
         * <p>
         * If an exception is thrown by {@link Closeable#close()}, an error message is logged. The exception is not rethrown. This prevents the original exception from being lost in situations like the following:
         * </p>
         * <pre>
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/cache/LoadingCache.java

       * If the new value is loaded successfully it will replace the previous value in the cache; if an
       * exception is thrown while refreshing the previous value will remain, <i>and the exception will
       * be logged (using {@link java.util.logging.Logger}) and swallowed</i>.
       *
       * <p>Caches loaded by a {@link CacheLoader} will call {@link CacheLoader#reload} if the cache
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 8.5K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/lang/ThreadUtil.java

     */
    package org.codelibs.core.lang;
    
    import org.codelibs.core.exception.InterruptedRuntimeException;
    import org.codelibs.core.log.Logger;
    
    /**
     * Utility class for Thread class
     *
     * @author shinsuke
     *
     */
    public abstract class ThreadUtil {
    
        private static final Logger logger = Logger.getLogger(ThreadUtil.class);
    
        /**
         * Do not instantiate.
         */
        protected ThreadUtil() {
        }
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/sql/StatementUtil.java

     *
     * @author higa
     */
    public abstract class StatementUtil {
    
        private static final Logger logger = Logger.getLogger(StatementUtil.class);
    
        /**
         * Do not instantiate.
         */
        protected StatementUtil() {
        }
    
        /**
         * Executes the SQL.
         *
         * @param statement
         *            {@link Statement}. Must not be {@literal null}.
         * @param sql
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 5K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/zip/ZipInputStreamUtil.java

     * @author koichik
     */
    public abstract class ZipInputStreamUtil {
    
        private static final Logger logger = Logger.getLogger(ZipInputStreamUtil.class);
    
        /**
         * Do not instantiate.
         */
        protected ZipInputStreamUtil() {
        }
    
        /**
         * A method that wraps the exception handling of {@link ZipInputStream#getNextEntry()}.
         *
         * @param zis
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/testing/TestLogHandler.java

     *
     * <pre>
     *   TestLogHandler handler;
     *
     *   protected void setUp() throws Exception {
     *     super.setUp();
     *     handler = new TestLogHandler();
     *     SomeClass.logger.addHandler(handler);
     *     addTearDown(new TearDown() {
     *       public void tearDown() throws Exception {
     *         SomeClass.logger.removeHandler(handler);
     *       }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/base/internal/Finalizer.java

     * collected, and this class can detect when the main class loader has been garbage collected and
     * stop itself.
     */
    public class Finalizer implements Runnable {
    
      private static final Logger logger = Logger.getLogger(Finalizer.class.getName());
    
      /**
       * Starts the Finalizer thread. FinalizableReferenceQueue calls this method reflectively.
       *
       * @param finalizableReferenceClass FinalizableReference.class.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 03:19:29 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

            assertNotNull(logger);
    
            // Verify logger is of the expected type
            assertTrue(logger instanceof org.apache.logging.log4j.Logger);
        }
    
        // Test concurrent execution of hook method
        @Test
        public void test_hook_concurrentExecution() throws Exception {
            final FwAssistantDirector assistantDirector = createMockAssistantDirector();
            final int threadCount = 10;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/PruneChangelogsTask.java

            if (filesToDelete.isEmpty()) {
                LOGGER.warn("No files need to be deleted.");
                return;
            }
    
            LOGGER.warn("The following changelog files {} be deleted:", dryRun ? "can" : "will");
            LOGGER.warn("");
            filesToDelete.forEach(file -> LOGGER.warn("\t{}", rootDir.relativize(file.toPath())));
    
            if (dryRun == false) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 24 10:57:02 GMT 2021
    - 6.6K bytes
    - Click Count (0)
  10. okhttp-logging-interceptor/README.md

      .addInterceptor(logging)
      .build();
    ```
    
    You can change the log level at any time by calling `setLevel()`.
    
    To log to a custom location, pass a `Logger` instance to the constructor.
    ```java
    HttpLoggingInterceptor logging = new HttpLoggingInterceptor(new Logger() {
      @Override public void log(String message) {
        Timber.tag("OkHttp").d(message);
      }
    });
    ```
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 1.3K bytes
    - Click Count (0)
Back to Top