Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
The code that produces log output in Proton C is split into multiple places in the code. It would make more sense to me to centralise the trace flags into the pn_transport_t object to as currently the logging API is there but the flags are duplicated.
As an aside it would also make sense to introduce some new flags to allow control of logging at other levels besides Frame dumps and Raw frame bytes. I'd suggest PN_TRACE_DBG for debug tracing and maybe INF for more informational messages.