Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 968 for logger (0.08 sec)

  1. internal/logger/logger.go

    	if len(systemTgts) == 0 {
    		return
    	}
    
    	// Iterate over all logger targets to send the log entry
    	for _, t := range systemTgts {
    		if err := t.Send(ctx, entry); err != nil {
    			if consoleTgt != nil { // Sending to the console never fails
    				consoleTgt.Send(ctx, errToEntry(ctx, "logging", fmt.Errorf("unable to send log event to Logger target (%s): %v", t.String(), err), entry.Level))
    			}
    		}
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 09:43:48 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/log/Logger.java

            assertArgumentNotNull("clazz", clazz);
    
            if (!initialized) {
                initialize();
            }
            Logger logger = loggers.get(clazz);
            if (logger == null) {
                logger = new Logger(clazz);
                loggers.put(clazz, logger);
            }
            return logger;
        }
    
        /**
         * フォーマットされたメッセージ文字列を返します。
         *
         * @param messageCode
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  3. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Logger.java

         * @param message the message to be logged
         */
        default void log(@Nonnull Level level, @Nonnull String message) {
            log(level, message, null);
        }
    
        /**
         * Logs a message at the specified level with an associated exception.
         *
         * @param level the severity level of the message
         * @param message the message to be logged
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 03 16:03:55 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. cmd/metrics-v3-logger-webhook.go

    		"Total number of messages sent to this target",
    		allWebhookLabels...)
    )
    
    // loadLoggerWebhookMetrics - `MetricsLoaderFn` for logger webhook
    // such as failed messages and total messages.
    func loadLoggerWebhookMetrics(ctx context.Context, m MetricValues, c *metricsCache) error {
    	tgts := append(logger.SystemTargets(), logger.AuditTargets()...)
    	for _, t := range tgts {
    		labels := []string{nameL, t.String(), endpointL, t.Endpoint()}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 14 07:27:33 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. 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: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

                if (logger.isDebugEnabled()) {
                    logger.debug("SuggestCreator is stopped.", e);
                } else if (logger.isInfoEnabled()) {
                    logger.info("SuggestCreator is stopped.");
                }
                exitCode = Constants.EXIT_FAIL;
            } catch (final Throwable t) {
                logger.error("Suggest creator does not work correctly.", t);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/log/JulLoggerAdapter.java

        protected final String sourceClass;
    
        protected final java.util.logging.Logger logger;
    
        public JulLoggerAdapter(final Class<?> clazz) {
            sourceClass = clazz.getName();
            logger = java.util.logging.Logger.getLogger(clazz.getName());
        }
    
        @Override
        public boolean isFatalEnabled() {
            return logger.isLoggable(Level.SEVERE);
        }
    
        @Override
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/log/JclLoggerAdapter.java

        protected final Log logger;
    
        public JclLoggerAdapter(final Class<?> clazz) {
            sourceClass = clazz.getName();
            logger = LogFactory.getLog(clazz);
        }
    
        @Override
        public boolean isFatalEnabled() {
            return logger.isFatalEnabled();
        }
    
        @Override
        public void fatal(final String message) {
            logger.fatal(message);
        }
    
        @Override
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

            if (logger.isDebugEnabled()) {
                logger.debug("Create thumbnail task: {}", task);
            }
            return task;
        }
    
        @Override
        public boolean generate(final String thumbnailId, final File outputFile) {
            if (logger.isDebugEnabled()) {
                logger.debug("Generate Thumbnail: {}", thumbnailId);
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DebugResolutionListener.java

            this.logger = logger;
        }
    
        public void testArtifact(Artifact node) {}
    
        public void startProcessChildren(Artifact artifact) {
            indent += "  ";
        }
    
        public void endProcessChildren(Artifact artifact) {
            indent = indent.substring(2);
        }
    
        public void includeArtifact(Artifact artifact) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top