ekg2
GIT master
|
Idź do kodu źródłowego tego pliku.
Definicje | |
#define | debug_io(args...) debug_ext(DEBUG_IO, args) |
#define | debug_iorecv(args...) debug_ext(DEBUG_IORECV, args) |
#define | debug_function(args...) debug_ext(DEBUG_FUNCTION, args) |
#define | debug_error(args...) debug_ext(DEBUG_ERROR, args) |
#define | debug_white(args...) debug_ext(DEBUG_WHITE, args) |
#define | debug_warn(args...) debug_ext(DEBUG_WARN, args) |
#define | debug_ok(args...) debug_ext(DEBUG_OK, args) |
#define | debug_wtf(args...) debug_ext(DEBUG_WTF, args) |
Wyliczenia | |
enum | debug_level_t { DEBUG_IO = 1, DEBUG_IORECV, DEBUG_FUNCTION, DEBUG_ERROR, DEBUG_GGMISC, DEBUG_WHITE, DEBUG_WARN, DEBUG_OK, DEBUG_IO = 1, DEBUG_IORECV, DEBUG_FUNCTION, DEBUG_ERROR, DEBUG_GGMISC, DEBUG_WHITE, DEBUG_WARN, DEBUG_OK, __DEBUG_WTF } |
Funkcje | |
void | debug (const char *format,...) |
void | debug_ext (debug_level_t level, const char *format,...) |
#define debug_error | ( | args... | ) | debug_ext(DEBUG_ERROR, args) |
#define debug_function | ( | args... | ) | debug_ext(DEBUG_FUNCTION, args) |
#define debug_iorecv | ( | args... | ) | debug_ext(DEBUG_IORECV, args) |
#define debug_warn | ( | args... | ) | debug_ext(DEBUG_WARN, args) |
#define debug_white | ( | args... | ) | debug_ext(DEBUG_WHITE, args) |
#define debug_wtf | ( | args... | ) | debug_ext(DEBUG_WTF, args) |
enum debug_level_t |
void debug | ( | const char * | format, |
... | |||
) |
void debug_ext | ( | debug_level_t | level, |
const char * | format, | ||
... | |||
) |