7 #define UINT32_MAX 0xffffffffU
10 enum dbg_lvl_t : uint32_t {
26 const uint32_t debug_lvl = UINT32_MAX;
28 const uint32_t debug_lvl = (DEBUG_LVL);
31 #define DEBUG_PRINT(lvl, x) if((lvl) & debug_lvl) { std::cerr << x; }
32 #define DEBUG_PRINTLN(lvl, x) if((lvl) & debug_lvl) { std::cerr << x << std::endl; }
33 #define DEBUG_EXEC(lvl, x) if((lvl) & debug_lvl) { x; }
37 #define DEBUG_PRINT(lvl, x)
38 #define DEBUG_PRINTLN(lvl, x)
39 #define DEBUG_EXEC(lvl, x)