qlog: remove deprecated DefaultTracer function (#4697)

This commit is contained in:
Marten Seemann
2024-10-14 01:50:47 -05:00
committed by GitHub
parent 29f903f486
commit d5d75921c8

View File

@@ -12,12 +12,6 @@ import (
"github.com/quic-go/quic-go/logging"
)
// DefaultTracer creates a qlog file in the qlog directory specified by the QLOGDIR environment variable.
// Deprecated: use DefaultConnectionTracer instead.
func DefaultTracer(ctx context.Context, p logging.Perspective, connID logging.ConnectionID) *logging.ConnectionTracer {
return DefaultConnectionTracer(ctx, p, connID)
}
// DefaultConnectionTracer creates a qlog file in the qlog directory specified by the QLOGDIR environment variable.
// File names are <odcid>_<perspective>.sqlog.
// Returns nil if QLOGDIR is not set.