split the qlog package into a logging and a qlog package

This commit is contained in:
Marten Seemann 2020-06-29 11:31:50 +07:00
parent 7c42d7941a
commit 78ba619a0b
25 changed files with 525 additions and 460 deletions

View file

@ -20,7 +20,7 @@ import (
"github.com/lucas-clemente/quic-go/internal/testdata"
"github.com/lucas-clemente/quic-go/internal/utils"
"github.com/lucas-clemente/quic-go/internal/wire"
"github.com/lucas-clemente/quic-go/qlog"
"github.com/lucas-clemente/quic-go/logging"
"github.com/lucas-clemente/quic-go/quictrace"
"github.com/golang/mock/gomock"
@ -335,7 +335,7 @@ var _ = Describe("Server", func() {
_ *tls.Config,
_ *handshake.TokenGenerator,
enable0RTT bool,
_ qlog.Tracer,
_ logging.Tracer,
_ utils.Logger,
_ protocol.VersionNumber,
) quicSession {
@ -508,7 +508,7 @@ var _ = Describe("Server", func() {
_ *tls.Config,
_ *handshake.TokenGenerator,
enable0RTT bool,
_ qlog.Tracer,
_ logging.Tracer,
_ utils.Logger,
_ protocol.VersionNumber,
) quicSession {
@ -575,7 +575,7 @@ var _ = Describe("Server", func() {
_ *tls.Config,
_ *handshake.TokenGenerator,
_ bool,
_ qlog.Tracer,
_ logging.Tracer,
_ utils.Logger,
_ protocol.VersionNumber,
) quicSession {
@ -618,7 +618,7 @@ var _ = Describe("Server", func() {
_ *tls.Config,
_ *handshake.TokenGenerator,
_ bool,
_ qlog.Tracer,
_ logging.Tracer,
_ utils.Logger,
_ protocol.VersionNumber,
) quicSession {
@ -666,7 +666,7 @@ var _ = Describe("Server", func() {
_ *tls.Config,
_ *handshake.TokenGenerator,
_ bool,
_ qlog.Tracer,
_ logging.Tracer,
_ utils.Logger,
_ protocol.VersionNumber,
) quicSession {
@ -696,7 +696,7 @@ var _ = Describe("Server", func() {
_ *tls.Config,
_ *handshake.TokenGenerator,
_ bool,
_ qlog.Tracer,
_ logging.Tracer,
_ utils.Logger,
_ protocol.VersionNumber,
) quicSession {
@ -761,7 +761,7 @@ var _ = Describe("Server", func() {
_ *tls.Config,
_ *handshake.TokenGenerator,
_ bool,
_ qlog.Tracer,
_ logging.Tracer,
_ utils.Logger,
_ protocol.VersionNumber,
) quicSession {
@ -869,7 +869,7 @@ var _ = Describe("Server", func() {
_ *tls.Config,
_ *handshake.TokenGenerator,
_ bool,
_ qlog.Tracer,
_ logging.Tracer,
_ utils.Logger,
_ protocol.VersionNumber,
) quicSession {
@ -936,7 +936,7 @@ var _ = Describe("Server", func() {
_ *tls.Config,
_ *handshake.TokenGenerator,
enable0RTT bool,
_ qlog.Tracer,
_ logging.Tracer,
_ utils.Logger,
_ protocol.VersionNumber,
) quicSession {
@ -974,7 +974,7 @@ var _ = Describe("Server", func() {
_ *tls.Config,
_ *handshake.TokenGenerator,
_ bool,
_ qlog.Tracer,
_ logging.Tracer,
_ utils.Logger,
_ protocol.VersionNumber,
) quicSession {
@ -1033,7 +1033,7 @@ var _ = Describe("Server", func() {
_ *tls.Config,
_ *handshake.TokenGenerator,
_ bool,
_ qlog.Tracer,
_ logging.Tracer,
_ utils.Logger,
_ protocol.VersionNumber,
) quicSession {