Closed mattsse closed 1 year ago
The current debug impl of Enr
Enr
https://github.com/sigp/enr/blob/e59dcb45ea07e423a7091d2a6ede4ad6d8ef2840/src/lib.rs#L864-L868
is unhelpful for debugging.
The display impl is more helpful for debugging but lacks content info
https://github.com/sigp/enr/blob/e59dcb45ea07e423a7091d2a6ede4ad6d8ef2840/src/lib.rs#L852-L862
Suggest flipping them and to include k,v pairs as well.
Sounds like a good suggestion! Are you planning on providing a PR for this?
great, will do!
The current debug impl of
Enr
https://github.com/sigp/enr/blob/e59dcb45ea07e423a7091d2a6ede4ad6d8ef2840/src/lib.rs#L864-L868
is unhelpful for debugging.
The display impl is more helpful for debugging but lacks content info
https://github.com/sigp/enr/blob/e59dcb45ea07e423a7091d2a6ede4ad6d8ef2840/src/lib.rs#L852-L862
Suggest flipping them and to include k,v pairs as well.