#include <cstdio>
#include "config.h"
Go to the source code of this file.
Defines | |
#define | WARNX(level, fmt...) |
#define | WARN(fmt...) WARNX(Warning, fmt) |
Enumerations | |
enum | Warn_level { Error = 0, Warning = 1 } |
|
|
|
Value: do { \ if (level < Config::warn_level) \ { \ printf("\n\033[31mKERNEL: "); \ printf(fmt); \ printf("\033[m\n"); \ } \ } while (0) |
|
|