10 template <
int Level = 1>
11 inline void verbose(
const char* fmt, ...) {
13 constexpr
int slen = 256;
14 static char msg[slen];
#define ITYR_MAX_VERBOSE_LEVEL
Definition: allocator.hpp:16
va_list args
Definition: util.hpp:76
fprintf(stderr, "\x1b[31m%s\x1b[39m\n", msg)
vsnprintf(msg, slen, fmt, args)
constexpr int max_verbose_level
Definition: logger.hpp:8
uint64_t clock_gettime_ns()
Definition: util.hpp:65
void verbose(const char *fmt,...)
Definition: logger.hpp:11