logger: print INFO and DEBUG prefixes, not just ERROR and WARN

It's not long and more consistent.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
Marc Herbert 2021-05-07 05:10:15 +00:00 committed by Liam Girdwood
parent ab643b7655
commit 448bbc61a7
1 changed files with 5 additions and 1 deletions

View File

@ -386,8 +386,12 @@ static const char *get_level_name(uint32_t level)
return "ERROR ";
case LOG_LEVEL_WARNING:
return "WARN ";
case LOG_LEVEL_INFO:
return "INFO ";
case LOG_LEVEL_DEBUG:
return "DEBUG ";
default:
return ""; /* info is usual, do not print anything */
return "UNKNOWN ";
}
}