debug_printf.h File Reference

Go to the source code of this file.

Defines

#define debug_printf(dp, format, ARGS...)   debug_printf_real(dp,__FILE__,__LINE__,__FUNCTION__,format,##ARGS)

Typedefs

typedef enum _DebugLevel DebugLevel

Enumerations

enum  _DebugLevel { DEBUG_NO_OUTPUT = 0, DEBUG_ERROR = 1, DEBUG_WARNING = 2, DEBUG_INFO = 3 }

Functions

void debug_set_level (DebugLevel dl)
void debug_printf_real (DebugLevel dp, const char *file, const int line, const char *function, const char *format,...)
void debug_set_output (FILE *fp)


Copyright 2006 Qball Cow