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

logging: add a Close function to the Tracer #4298

Merged
merged 2 commits into from Feb 3, 2024
Merged

Conversation

marten-seemann
Copy link
Member

@marten-seemann marten-seemann commented Feb 1, 2024

This is needed to actually use qlog with a logging.Tracer: The qlog is flushed to disk on Close.

Copy link

codecov bot commented Feb 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (b675e34) 84.12% compared to head (89d4ce4) 84.16%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4298      +/-   ##
==========================================
+ Coverage   84.12%   84.16%   +0.05%     
==========================================
  Files         150      150              
  Lines       15356    15364       +8     
==========================================
+ Hits        12917    12931      +14     
+ Misses       1940     1935       -5     
+ Partials      499      498       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@marten-seemann marten-seemann changed the base branch from debug-tracer to master February 3, 2024 04:22
@marten-seemann marten-seemann merged commit 07ec324 into master Feb 3, 2024
34 checks passed
@marten-seemann marten-seemann deleted the close-tracer branch February 3, 2024 05:12
mgjeong pushed a commit to mgjeong/quic-go that referenced this pull request Feb 13, 2024
* logging: add a Close function to the Tracer

* close the Tracer when the Transport is closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant