CHG: coloring of ERR

This commit is contained in:
iceman1001 2018-12-18 18:43:49 +01:00
parent 4ef59c3771
commit 94e0d43502

View file

@ -58,6 +58,9 @@ void PrintAndLogEx(logLevel_t level, char *fmt, ...) {
static char *prefixes[7] = { "", "[+] ", "[=] ", "[-] ", "[!] ", "[!!] ", "[#] "};
switch( level ) {
case ERR:
strncpy(prefix,_RED_([!!] ), sizeof(prefix)-1);
break;
case FAILED:
strncpy(prefix,_RED_([-] ), sizeof(prefix)-1);
break;