Sometimes it's useful to turn NMBS_DEBUG on, but the output is a bit of a mess if the read/write callbacks also log to the same channel. Moving the DEBUG statements in recv_msg_footer and send_msg_footer to the start of those functions makes the output a bit cleaner, although it's not perfect.
Sometimes it's useful to turn
NMBS_DEBUG
on, but the output is a bit of a mess if the read/write callbacks also log to the same channel. Moving the DEBUG statements inrecv_msg_footer
andsend_msg_footer
to the start of those functions makes the output a bit cleaner, although it's not perfect.Example output before this change:
after: