BNetDebug
provides a few functions that let you turn on and off debug
output, and dump raw data to stderr in a clean format.
All the member functions are static; instead of creating a
BNetDebug
object, call them like this:
BNetDebug
::
Debug output is off by default; call
BNetDebug::Enable()
to enable it.