carb::extras::debugPrint

Defined in carb/extras/Debugging.h

inline void carb::extras::debugPrint(const char *fmt, ...)

Prints a formatted string to debug output.

On Windows this means, OutputDebugString; on Linux, this just prints to the console.

On Windows, the Sysinternals DebugView utility can be used to view the debug strings outside of a debugger.

Note

This should never be used in production code!

Parameters

fmt – The printf-style format string