Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,227 for logger (0.05 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. fastapi/logger.py

    import logging
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Dec 09 19:02:44 UTC 2019
    - 54 bytes
    - Viewed (0)
  4. logger/logger.go

    type Writer interface {
    	Printf(string, ...interface{})
    }
    
    // Config logger config
    type Config struct {
    	SlowThreshold             time.Duration
    	Colorful                  bool
    	IgnoreRecordNotFoundError bool
    	ParameterizedQueries      bool
    	LogLevel                  LogLevel
    }
    
    // Interface logger interface
    type Interface interface {
    	LogMode(LogLevel) Interface
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Nov 07 02:19:41 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/main/webapp/WEB-INF/env/crawler/resources/log4j2.xml

    		</RollingFile>
    	</Appenders>
    
    	<Loggers>
    		<Logger name="org.codelibs" additivity="false" level="${log.level}">
    			<AppenderRef ref="AppFile" />
    		</Logger>
    		<Logger name="org.dbflute" additivity="false" level="${log.level}">
    			<AppenderRef ref="AppFile" />
    		</Logger>
    		<Logger name="org.lastaflute" additivity="false" level="${log.level}">
    			<AppenderRef ref="AppFile" />
    		</Logger>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Feb 20 13:05:30 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top