Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 818 for Logger (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. internal/logger/logger.go

    package logger
    
    import (
    	"context"
    	"encoding/hex"
    	"errors"
    	"fmt"
    	"go/build"
    	"io"
    	"os"
    	"path/filepath"
    	"reflect"
    	"runtime"
    	"sort"
    	"strings"
    	"time"
    
    	"github.com/minio/highwayhash"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/madmin-go/v3/logger/log"
    	"github.com/minio/minio/internal/color"
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  2. logger/logger.go

    // Package logger provides a logger interface and its implementation for GORM.
    package logger
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"io"
    	"log"
    	"os"
    	"time"
    
    	"gorm.io/gorm/utils"
    )
    
    // ErrRecordNotFound record not found error
    var ErrRecordNotFound = errors.New("record not found")
    
    // Colors
    const (
    	Reset       = "\033[0m"
    	Red         = "\033[31m"
    	Green       = "\033[32m"
    	Yellow      = "\033[33m"
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 6.3K bytes
    - Click Count (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
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 5K bytes
    - Click Count (0)
  4. src/main/webapp/WEB-INF/env/crawler/resources/log4j2.xml

    	</Appenders>
    
    	<Loggers>
    		<Logger name="org.codelibs" additivity="false" level="${log.level}">
    			<AppenderRef ref="AppFile" />
    			<AppenderRef ref="LogNotification" />
    		</Logger>
    		<Logger name="org.dbflute" additivity="false" level="${log.level}">
    			<AppenderRef ref="AppFile" />
    			<AppenderRef ref="LogNotification" />
    		</Logger>
    		<Logger name="org.lastaflute" additivity="false" level="${log.level}">
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  5. logger/slog_test.go

    //go:build go1.21
    
    package logger
    
    import (
    	"bytes"
    	"context"
    	"log/slog"
    	"strings"
    	"testing"
    	"time"
    )
    
    func TestSlogLogger(t *testing.T) {
    	buf := &bytes.Buffer{}
    	handler := slog.NewTextHandler(buf, &slog.HandlerOptions{AddSource: true})
    	logger := NewSlogLogger(slog.New(handler), Config{LogLevel: Info})
    
    	logger.Trace(context.Background(), time.Now(), func() (string, int64) {
    		return "select count(*) from users", 0
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Oct 30 10:56:26 GMT 2025
    - 782 bytes
    - Click Count (0)
  6. internal/store/store.go

    func StreamItems[I any](store Store[I], target Target, doneCh <-chan struct{}, logger logger) {
    	go func() {
    		keyCh := replayItems(store, doneCh, logger, target.Name())
    		sendItems(target, keyCh, doneCh, logger)
    	}()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/crawler/transformer/FessFileTransformer.java

            super();
        }
    
        /** Logger instance for this class */
        private static final Logger logger = LogManager.getLogger(FessFileTransformer.class);
    
        /**
         * Initializes the transformer after dependency injection.
         * Sets up the Fess configuration and data serializer components.
         */
        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

                    Logger logger) {
                this.valueSources = valueSources;
                this.postProcessors = postProcessors;
                this.debugEnabled = debugEnabled;
    
                this.interpolationTargets = new LinkedList<>();
                interpolationTargets.add(target);
    
                this.modelInterpolator = modelInterpolator;
                this.logger = logger;
            }
    
            @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  9. 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)
  10. logger/slog.go

    //go:build go1.21
    
    package logger
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"log/slog"
    	"time"
    
    	"gorm.io/gorm/utils"
    )
    
    type slogLogger struct {
    	Logger                    *slog.Logger
    	LogLevel                  LogLevel
    	SlowThreshold             time.Duration
    	Parameterized             bool
    	Colorful                  bool // Ignored in slog
    	IgnoreRecordNotFoundError bool
    }
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Oct 30 10:56:26 GMT 2025
    - 2.9K bytes
    - Click Count (0)
Back to Top