Added display handler for log messages with CRITICAL severity

This commit is contained in:
Gergely Polonkai 2013-01-06 21:45:03 +01:00
parent f819df8ad7
commit 05baba32c3

View File

@ -154,6 +154,9 @@ wmud_logger(const gchar *log_domain, GLogLevelFlags log_level, const gchar *mess
case G_LOG_LEVEL_WARNING:
g_print("[%s] WARNING: %s\n", timestamp, message);
break;
case G_LOG_LEVEL_CRITICAL:
g_print("[%s] CRITICAL: %s\n", timestamp, message);
break;
default:
g_print("[%s] UNKNOWN LEVEL %03d: %s\n", timestamp, log_level, message);
break;