112
111
#define info(...) logv ("INFO", __FILE__, __LINE__, __func__, __VA_ARGS__)
113
112
#define warnp(...) logv ("WARNNING", __FILE__, __LINE__, __func__, __VA_ARGS__)
114
113
#define errp(...) logv ("ERROR", __FILE__, __LINE__, __func__, __VA_ARGS__)
115
void logv (const char *, const char *, int, const char *, const char *, ...);
114
void logv (const char *, const char *, int, const char *, const char *,
118
118
// because every unsigned char is < 256, so use this marco to stand for Ctrl+char, Shift+char