Corrected log naming

This commit is contained in:
Ray 2019-01-29 12:33:08 +01:00
parent 7699787473
commit 3363cfa61a

View File

@ -53,7 +53,7 @@
//----------------------------------------------------------------------------------
// Log types messages
static int logTypeLevel = LOG_INFO;
static int logTypeLevel = LOG_WARNING;
static int logTypeExit = LOG_ERROR;
static TraceLogCallback logCallback = NULL;
@ -133,7 +133,7 @@ void TraceLog(int logType, const char *text, ...)
case LOG_TRACE: strcpy(buffer, "TRACE: "); break;
case LOG_DEBUG: strcpy(buffer, "DEBUG: "); break;
case LOG_INFO: strcpy(buffer, "INFO: "); ; break;
case LOG_WARNING: strcpy(buffer, "WARN: "); break;
case LOG_WARNING: strcpy(buffer, "WARNING: "); break;
case LOG_ERROR: strcpy(buffer, "ERROR: "); break;
case LOG_FATAL: strcpy(buffer, "FATAL: "); break;
default: break;