1
0
mirror of https://github.com/facebookincubator/mvfst.git synced 2025-11-09 10:00:57 +03:00
Commit Graph

4 Commits

Author SHA1 Message Date
Bonnie Xu
91963d1af4 Refactor QLogger to include derived QLogger classes depending on use case
Summary:
Refactor QLogger to include derived QLogger classes depending on use case.

The QLog output will differ depending on what is requesting a QLog.

`File QLogger`: This is connected to HQ, stores all of the events per connection, and then outputs them to a file.

Reviewed By: sharma95

Differential Revision: D15928447

fbshipit-source-id: b2cdcd4d6305585b0f4f0aa21a95d1398aa761a5
2019-06-20 19:00:55 -07:00
Bonnie Xu
141dffce6a Fix QLogger test
Summary:
Fixed failing QLogger test.

Addresses reports https://our.intern.facebook.com/intern/test/281474989481205?ref_report_id=1876540 and https://our.intern.facebook.com/intern/test/844424942913490?ref_report_id=1876793.

Reviewed By: mjoras

Differential Revision: D15877059

fbshipit-source-id: e071d4ce7f70ffbd0d021f4f0e3edca7bcc51228
2019-06-18 13:44:43 -07:00
Bonnie Xu
805029b648 Added functionality to construct toDynamic objects
Summary: Converting stored QLog events into a toDynamic object that aligns with QLog format.

Reviewed By: sharma95

Differential Revision: D15725495

fbshipit-source-id: 0721a2d6858cfd99e191e3dfdc5f25f544106c86
2019-06-17 19:29:43 -07:00
Bonnie Xu
1affb7e49d Interface for QLogger
Summary:
Interface for QLogger:
- Takes in a Quic packet (`VersionNegotiation`, `RegularQuicWritePacket`, `RegularQuicPacket`)
- Stores it in QLogger
  - each packet is an event
  - each frame becomes a log

Reviewed By: sharma95

Differential Revision: D15581299

fbshipit-source-id: dedf933f47e2e8769109aa1e45ff38c2bf013714
2019-06-14 11:48:34 -07:00