private-octopus / picoquic

Minimal implementation of the QUIC protocol
MIT License
523 stars 153 forks source link

Improve coverage of the text logger functions #1602

Closed huitema closed 6 months ago

huitema commented 6 months ago

The text logger function was not overly tested before this PR. Adding test cases, eliminating dead code, simplifying some code paths gets it in better shape.

Coverage of logger.c Before After
By line 74.4% 90.2%
By branch 53.8% 64.4%