Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 194 for logger (0.07 seconds)

  1. 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 5K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/project/collector/DefaultProjectsSelector.java

                            LOGGER.warn("{}{}", problem.getMessage(), ((loc != null && !loc.isEmpty()) ? " @ " + loc : ""));
                        }
                    }
                }
            }
    
            if (totalProblemsCount > 0) {
                LOGGER.warn("");
                LOGGER.warn("Total model problems reported: {}", totalProblemsCount);
                LOGGER.warn("");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Sep 30 08:09:09 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  3. 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 Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Oct 30 10:56:26 GMT 2025
    - 782 bytes
    - Click Count (0)
  4. 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 Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Oct 30 10:56:26 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/UpgradeContext.java

         */
        public void info(String message) {
            logger.info(getCurrentIndent() + message);
        }
    
        /**
         * Logs a debug message with current indentation.
         */
        public void debug(String message) {
            logger.debug(getCurrentIndent() + message);
        }
    
        /**
         * Prints a new line.
         */
        public void println() {
            logger.info("");
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  6. cmd/notification.go

    		ng.Go(ctx, func() error {
    			// Give 15 seconds to each remote call.
    			// Errors are logged but not returned.
    			ctx, cancel := context.WithTimeout(ctx, 15*time.Second)
    			defer cancel()
    			data, err := client.DownloadProfileData(ctx)
    			if err != nil {
    				reqInfo := (&logger.ReqInfo{}).AppendTags("peerAddress", client.host.String())
    				ctx := logger.SetReqInfo(ctx, reqInfo)
    				peersLogOnceIf(ctx, err, client.host.String())
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 46K bytes
    - Click Count (0)
  7. 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 Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  8. cmd/peer-rest-server.go

    	logger.FatalIf(getBandwidthRPC.Register(gm, server.GetBandwidth), "unable to register handler")
    	logger.FatalIf(getBucketStatsRPC.Register(gm, server.GetBucketStatsHandler), "unable to register handler")
    	logger.FatalIf(getCPUsHandler.Register(gm, server.GetCPUsHandler), "unable to register handler")
    	logger.FatalIf(getLastDayTierStatsRPC.Register(gm, server.GetLastDayTierStatsHandler), "unable to register handler")
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 53.6K bytes
    - Click Count (0)
  9. 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  10. cmd/consolelogger.go

    import (
    	"container/ring"
    	"context"
    	"io"
    	"sync"
    	"sync/atomic"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/madmin-go/v3/logger/log"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/logger/target/console"
    	types "github.com/minio/minio/internal/logger/target/loggertypes"
    	"github.com/minio/minio/internal/pubsub"
    	xnet "github.com/minio/pkg/v3/net"
    )
    
    // number of log messages to buffer
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 5.4K bytes
    - Click Count (0)
Back to Top