Derived From:None
Mix-in Classes:None
Declared In:net/NetDebug.h
Allocation:Constructor only
Class Overview

Static Functions


static void 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 Enable(bool enable);static bool IsEnabled();

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

IsEnabled() reports the current state of debug output.


static void Print(const char* message);

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

Creative Commons License
Legal Notice
This work is licensed under a Creative Commons Attribution-Non commercial-No Derivative Works 3.0 License.