Logging functions.
More...
#include <stdio.h>
Go to the source code of this file.
|
#define | iprintf(format, ...) fprintf(stdout, "INFO: " format, ## __VA_ARGS__) |
| Print an information on the standard output. More...
|
|
#define | eprintf(format, ...) fprintf(stdout, "\e[1;31mERROR:\e[0m " format, ## __VA_ARGS__) |
| Print an error on the standard error output. More...
|
|
#define | cprintf(format, ...) fprintf(stdout, "\e[1;33mCAUTION:\e[0m " format, ## __VA_ARGS__) |
| Print a warning (caution) on the standard output. More...
|
|
#define | gprintf(format, ...) fprintf(stdout, format, ## __VA_ARGS__) |
| Print on the standard output. More...
|
|
Logging functions.
- Author
- hbuyse
- Date
- 17/06/2016
#define cprintf |
( |
|
format, |
|
|
|
... |
|
) |
| fprintf(stdout, "\e[1;33mCAUTION:\e[0m " format, ## __VA_ARGS__) |
Print a warning (caution) on the standard output.
- Parameters
-
format | The format |
... | The list of the arguments |
#define eprintf |
( |
|
format, |
|
|
|
... |
|
) |
| fprintf(stdout, "\e[1;31mERROR:\e[0m " format, ## __VA_ARGS__) |
Print an error on the standard error output.
- Parameters
-
format | The format |
... | The list of the arguments |
#define gprintf |
( |
|
format, |
|
|
|
... |
|
) |
| fprintf(stdout, format, ## __VA_ARGS__) |
Print on the standard output.
- Parameters
-
format | The format |
... | The list of the arguments |
#define iprintf |
( |
|
format, |
|
|
|
... |
|
) |
| fprintf(stdout, "INFO: " format, ## __VA_ARGS__) |
Print an information on the standard output.
- Parameters
-
format | The format |
... | The list of the arguments |