stdio: Added LOG_ specifiers to all prints
Signed-off-by: Michael Shaw <spencershawiscool@gmail.com>
This commit is contained in:
parent
25abb1f0f5
commit
92396db851
6 changed files with 21 additions and 12 deletions
|
|
@ -2,12 +2,15 @@
|
|||
#define _STDIO_H_
|
||||
|
||||
#define COL_RED_BLACK "\e[31;40m"
|
||||
#define COL_YELLOW_BLACK "\e[33;40m"
|
||||
#define COL_GREEN_BLACK "\e[32;40m"
|
||||
|
||||
#define COL_RESET "\e[m"
|
||||
|
||||
#define LOG_ERROR "[" COL_RED_BLACK " ERROR " COL_RESET "] "
|
||||
#define LOG_WARN "[" COL_YELLOW_BLACK " WARNING " COL_RESET "] "
|
||||
#define LOG_SUCCESS "[" COL_GREEN_BLACK " SUCCESS " COL_RESET "] "
|
||||
#define LOG_INFO "[ INFO ] "
|
||||
|
||||
int printf(const char *restrict fmt, ...);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue