xoreos
0.0.5
|
Utility functions for debug output. More...
Go to the source code of this file.
Functions | |
void | debugC (Common::DebugChannel channel, uint32 level, const char *s,...) GCC_PRINTF(3 |
Print a debug message, but only if the current debug level is at least the specified level for the specified channel. More... | |
void void | debugCN (Common::DebugChannel channel, uint32 level, const char *s,...) GCC_PRINTF(3 |
Print a debug message, but only if the current debug level is at least the specified level for the specified channel. More... | |
Utility functions for debug output.
Definition in file debug.h.
void debugC | ( | Common::DebugChannel | channel, |
uint32 | level, | ||
const char * | s, | ||
... | |||
) |
Print a debug message, but only if the current debug level is at least the specified level for the specified channel.
Automatically appends a newline.
The debug message is printed to both stderr and the global log file (if a global log file has been opened). See Common::DebugManager for details.
void void debugCN | ( | Common::DebugChannel | channel, |
uint32 | level, | ||
const char * | s, | ||
... | |||
) |
Print a debug message, but only if the current debug level is at least the specified level for the specified channel.
Doesn't automatically append a newline.
The debug message is printed to both stderr and the global log file (if a global log file has been opened). See Common::DebugManager for details.