common code: Add feature to select debug category rather than showing all
This commit is contained in:
@@ -15,11 +15,15 @@
|
||||
#define DCALL 8
|
||||
#define DMNCC 9
|
||||
#define DDB 10
|
||||
#define DTRANS 11
|
||||
|
||||
#define PDEBUG(cat, level, fmt, arg...) _printdebug(__FILE__, __FUNCTION__, __LINE__, cat, level, fmt, ## arg)
|
||||
void _printdebug(const char *file, const char *function, int line, int cat, int level, const char *fmt, ...);
|
||||
|
||||
const char *debug_amplitude(double level);
|
||||
|
||||
void debug_list_cat(void);
|
||||
int parse_debug_opt(const char *opt);
|
||||
|
||||
extern int debuglevel;
|
||||
|
||||
|
Reference in New Issue
Block a user