russelltg/srt-rs

Please do not use custom Debug

lu-zero opened this issue · 2 comments

The current custom implementations make much harder to debug since useful information stays omitted.

If you are fine with it, I can send a PR that either removes or changes the current impls to Display.

I'm happy to change my custom debugs to include the info you want, but the default debug for packets are huge and noisy, so I made it a bit easier to read.

The peer_addr would had been nice to have, but in general it was not really nice when I had to dump the packet for writing the test.