#include "stdio.h"
Go to the source code of this file.
Define Documentation
The default debug level (if not specified in the file itself)
Definition at line 33 of file debug.h.
Debug printing at level 1 debug. Usage: DEBUG1(("value %d",val));
Definition at line 91 of file debug.h.
Debug printing at level 2 debug. Usage: DEBUG2("value %d",val);
Definition at line 99 of file debug.h.
Debug printing at level 3 debug. Usage: DEBUG3("value %d",val);
Definition at line 107 of file debug.h.
Debug printing at level 4 debug. Usage: DEBUG4("value %d",val);
Definition at line 115 of file debug.h.
Where debug printfs should go to
Definition at line 40 of file debug.h.
Value:{ \
DEBUG_PRINTF(pre ); \
DEBUG_PRINTF("%s:%d %s() ", \
__FILE__,__LINE__,__FUNCTION__); \
DEBUG_PRINTF( __VA_ARGS__ ); \
}
If the debug output should be pretty (a little nicer to read?), but this requires the allocation of some memory and the use of snprintf Prints file and line info.
Definition at line 52 of file debug.h.
Info printing
Definition at line 75 of file debug.h.
Just a macro to indicate that something still needs to be done
Definition at line 82 of file debug.h.