Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a qlog tracer for events outside of QUIC connections #4305

Merged
merged 5 commits into from
Mar 9, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
qlog: introduce a basic tracer for non-connection events
  • Loading branch information
marten-seemann committed Mar 9, 2024
commit 2abbd41806e6fa36f87469d7ae62f42b8b7b4df4
6 changes: 3 additions & 3 deletions qlog/connection_tracer.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ type connectionTracer struct {
// NewConnectionTracer creates a new tracer to record a qlog for a connection.
func NewConnectionTracer(w io.WriteCloser, p logging.Perspective, odcid protocol.ConnectionID) *logging.ConnectionTracer {
tr := &trace{
VantagePoint: vantagePoint{Type: p},
VantagePoint: vantagePoint{Type: p.String()},
CommonFields: commonFields{
ODCID: odcid,
GroupID: odcid,
ODCID: &odcid,
GroupID: &odcid,
ReferenceTime: time.Now(),
},
}
Expand Down
Loading