forked from quic-go/quic-go
qlog: remove deprecated DefaultTracer function (#4697)
This commit is contained in:
@@ -12,12 +12,6 @@ import (
|
|||||||
"github.com/quic-go/quic-go/logging"
|
"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.
|
// DefaultConnectionTracer creates a qlog file in the qlog directory specified by the QLOGDIR environment variable.
|
||||||
// File names are <odcid>_<perspective>.sqlog.
|
// File names are <odcid>_<perspective>.sqlog.
|
||||||
// Returns nil if QLOGDIR is not set.
|
// Returns nil if QLOGDIR is not set.
|
||||||
|
|||||||
Reference in New Issue
Block a user