Go to the source code of this file.
void fprintf_color |
( |
PrintColor |
color, |
|
|
FILE * |
stream, |
|
|
const char * |
fmt, |
|
|
|
... |
|
) |
| |
Definition at line 13 of file Utilities_print.cpp.
14 auto color_id = (uint32_t)color;
15 if (color_id) fprintf(stream,
"\033[1;%dm", (uint32_t)color + 30);
18 vfprintf(stream, fmt, args);
20 fprintf(stream,
"\033[0m");
void printf_color |
( |
PrintColor |
color, |
|
|
const char * |
fmt, |
|
|
|
... |
|
) |
| |
Definition at line 3 of file Utilities_print.cpp.
4 auto color_id = (uint32_t)color;
5 if (color_id) printf(
"\033[1;%dm", (uint32_t)color + 30);