mirror of https://github.com/thesofproject/sof.git
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:
parent
ab643b7655
commit
448bbc61a7
|
@ -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 ";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue