Fixed LOG_LEVEL not being defined correctly and therefore unchangable
This commit is contained in:
@@ -45,11 +45,7 @@ enum _LOG_LEVEL
|
|||||||
LOG_LEVEL_DEBUG
|
LOG_LEVEL_DEBUG
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef DEBUG
|
extern _LOG_LEVEL LOG_LEVEL;
|
||||||
static _LOG_LEVEL LOG_LEVEL = LOG_LEVEL_DEBUG;
|
|
||||||
#else
|
|
||||||
static _LOG_LEVEL LOG_LEVEL = LOG_LEVEL_DEBUG;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
const static char* _LOG_LEVEL_PREFIX[] =
|
const static char* _LOG_LEVEL_PREFIX[] =
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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
|
||||||
Reference in New Issue
Block a user