mirror of https://github.com/djcb/mu.git
* mu-log.c: change log format a bit
This commit is contained in:
parent
4890ad0216
commit
9c64be3d22
|
@ -185,9 +185,9 @@ log_write (const char* domain, GLogLevelFlags level,
|
|||
|
||||
/* for serious errors, log them to stderr as well */
|
||||
if (level & G_LOG_LEVEL_ERROR)
|
||||
g_printerr ("error: %s\n", msg);
|
||||
g_printerr ("mu(e): %s\n", msg);
|
||||
else if (level & G_LOG_LEVEL_CRITICAL)
|
||||
g_printerr ("critical: %s\n", msg);
|
||||
g_printerr ("mu(c): %s\n", msg);
|
||||
else if (level & G_LOG_LEVEL_WARNING)
|
||||
g_printerr ("warning: %s\n", msg);
|
||||
g_printerr ("mu(w): %s\n", msg);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue