API Documentation

BNetDebug

BNetDebug

Static Functions

Dump()

static void BNetDebug::Dump(const char *data, size_t size, const char *title) const

Dumps size bytes of raw data to stderr. The dump is prefaced by the given title. The text is only output if debug output is currently enabled.

Enable(), IsEnabled()

static void BNetDebug::Enable(bool enable)

static bool BNetDebug::IsEnabled()

Enable() enables debug output if enable is true, otherwise it disables debug output.

IsEnabled() reports the current state of debug output.

Print()

static void BNetDebug::Print(const char *message)

Prints the specified message to stderr, if debug output is currently enabled.