stdio: Added LOG_ERROR and LOG_SUCCESS
Signed-off-by: Michael Shaw <spencershawiscool@gmail.com>
This commit is contained in:
parent
93fe0a1d2f
commit
25abb1f0f5
1 changed files with 8 additions and 0 deletions
|
|
@ -1,6 +1,14 @@
|
|||
#ifndef _STDIO_H_
|
||||
#define _STDIO_H_
|
||||
|
||||
#define COL_RED_BLACK "\e[31;40m"
|
||||
#define COL_GREEN_BLACK "\e[32;40m"
|
||||
|
||||
#define COL_RESET "\e[m"
|
||||
|
||||
#define LOG_ERROR "[" COL_RED_BLACK " ERROR " COL_RESET "] "
|
||||
#define LOG_SUCCESS "[" COL_GREEN_BLACK " SUCCESS " COL_RESET "] "
|
||||
|
||||
int printf(const char *restrict fmt, ...);
|
||||
|
||||
#endif /* _SDTIO_H_ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue