Fixed LOG_LEVEL not being defined correctly and therefore unchangable

This commit is contained in:
2015-10-15 14:33:32 +02:00
parent 00cac42094
commit 8ecb1aa8c5
2 changed files with 8 additions and 5 deletions
+1 -5
View File
@@ -45,11 +45,7 @@ enum _LOG_LEVEL
LOG_LEVEL_DEBUG
};
#ifdef DEBUG
static _LOG_LEVEL LOG_LEVEL = LOG_LEVEL_DEBUG;
#else
static _LOG_LEVEL LOG_LEVEL = LOG_LEVEL_DEBUG;
#endif
extern _LOG_LEVEL LOG_LEVEL;
const static char* _LOG_LEVEL_PREFIX[] =
{
+7
View File
@@ -0,0 +1,7 @@
#include "Core/Util/Logging.h"
#ifdef DEBUG
_LOG_LEVEL LOG_LEVEL = LOG_LEVEL_DEBUG;
#else
_LOG_LEVEL LOG_LEVEL = LOG_LEVEL_ERROR;
#endif