Renamed log level panic to fatal

This commit is contained in:
Martin Pulec
2015-07-13 13:09:47 +02:00
parent 715dca1bc3
commit 966751bc26
4 changed files with 8 additions and 8 deletions

View File

@@ -95,7 +95,7 @@ void log_msg(int level, const char *format, ...)
const char *ending = "\033[0m";
switch (level) {
case LOG_LEVEL_PANIC: color = "\033[1;31m"; break;
case LOG_LEVEL_FATAL: color = "\033[1;31m"; break;
case LOG_LEVEL_ERROR: color = "\033[0;31m"; break;
case LOG_LEVEL_WARNING: color = "\033[0;33m"; break;
case LOG_LEVEL_NOTICE: color = "\033[0;32m"; break;