core,log: reduce the log level tag to 3 characters

Just to make all of them the same avoid needing extra whitespaces just
for alignment of the text after this tag.
This commit is contained in:
Aleksander Morgado
2022-08-05 17:18:10 +02:00
parent b3f315ad2d
commit ddfdbf66f6

View File

@@ -134,15 +134,15 @@ log_level_description (MMLogLevel level)
{
switch (level) {
case MM_LOG_LEVEL_ERR:
return "<error>";
return "<err>";
case MM_LOG_LEVEL_WARN:
return "<warn> ";
return "<wrn>";
case MM_LOG_LEVEL_MSG:
return "<msg> ";
return "<msg>";
case MM_LOG_LEVEL_INFO:
return "<info> ";
return "<inf>";
case MM_LOG_LEVEL_DEBUG:
return "<debug>";
return "<dbg>";
default:
break;
}