s2n-quic
s2n-quic copied to clipboard
events: Implement a qlog Event Subscriber
Problem:
qlog is a standardized logging format that allows easy sharing of data and the creation of reusable visualization and debugging tools. The schema (still in draft form) is specified in https://github.com/quicwg/qlog. s2n-quic does not currently output in this format.
Solution:
Implement an Event Subscriber that outputs in the qlog format, by implementing the event::Subscriber trait and matching up the available events to their qlog equivalents.
- Does this change what s2n-quic sends over the wire? No
- Does this change any public APIs? No
Since the qlog spec is currently in draft, this should be a separate crate from the main s2n-quic
as I don't want to break applications when things change. Probably something like s2n-quic-qlog
.