[common] debug: output to stdout and reset the the color at the end

This commit is contained in:
Geoffrey McRae
2021-07-08 07:17:01 +10:00
parent e96a80dd20
commit 0acce0737f
3 changed files with 7 additions and 3 deletions

View File

@@ -26,6 +26,7 @@ void debug_init(void)
{
static const char * plainLookup[] =
{
"" , // DEBUG_LEVEL_NONE
"[I] ", // DEBUG_LEVEL_INFO
"[W] ", // DEBUG_LEVEL_WARN
"[E] ", // DEBUG_LEVEL_ERROR