Provides some useful logging shortcuts. More...
#include "qev.h"Go to the source code of this file.
Macros | |
| #define | DEBUG(format,...) |
| Output debug info to the console, only when not built for prod. | |
| #define | INFO(format,...) |
| General useful information. More... | |
| #define | WARN(format,...) |
| Output warning. More... | |
| #define | PERROR(format,...) |
| Like perror() More... | |
| #define | CRITICAL(format,...) |
| Output critical, non-fatal error. More... | |
| #define | FATAL(format,...) |
| A fatal error, after which nothing can continue. More... | |
| #define | ASSERT(cond, msg,...) |
| If the condition is not true, it brings down the app with it, logging the given message as fatal. More... | |
Provides some useful logging shortcuts.
| #define ASSERT | ( | cond, | |
| msg, | |||
| ... | |||
| ) |
| #define CRITICAL | ( | format, | |
| ... | |||
| ) |
Output critical, non-fatal error.
| #define FATAL | ( | format, | |
| ... | |||
| ) |
A fatal error, after which nothing can continue.
| #define INFO | ( | format, | |
| ... | |||
| ) |
General useful information.
| #define PERROR | ( | format, | |
| ... | |||
| ) |
Like perror()
| #define WARN | ( | format, | |
| ... | |||
| ) |
Output warning.
1.8.6