48 #define LOGLEVEL ERROR 52 #define DEBUG(lvl, fmt, ...) if (LOGLEVEL >= lvl) { printf("\e[35m%s\e[0m:\e[31m%d\e[0m: " "\e[%dm" fmt "\e[0m", __FILE__, __LINE__, debug_color[lvl], ##__VA_ARGS__);} 56 #define PANIC(fmt,...) { DEBUG(ERROR,fmt "\n", ##__VA_ARGS__); for(;;); }
Definition: armv7/boot/include/debug.h:38
static unsigned debug_color[]
Definition: armv7/boot/include/debug.h:40
Definition: armv7/boot/include/debug.h:38
loglevel_e
Definition: armv7/boot/include/debug.h:38
Definition: armv7/boot/include/debug.h:38
Definition: armv7/boot/include/debug.h:38