diff options
author | bunnei <ericbunnie@gmail.com> | 2014-05-07 21:34:04 -0400 |
---|---|---|
committer | bunnei <ericbunnie@gmail.com> | 2014-05-07 21:34:04 -0400 |
commit | 505d984f163d3bce9254e7e5fdb949c8e764ec49 (patch) | |
tree | bb8b736584d13338d2fbfbad5c630af65298a97f /src | |
parent | 4de763f462abb986a58052a69127d50789ffeb06 (diff) |
logger fix for linux
Diffstat (limited to 'src')
-rw-r--r-- | src/common/log.h | 4 | ||||
-rw-r--r-- | src/common/log_manager.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/common/log.h b/src/common/log.h index de062944..d95f51f5 100644 --- a/src/common/log.h +++ b/src/common/log.h @@ -88,10 +88,10 @@ void GenericLog(LOGTYPES_LEVELS level, LOGTYPES_TYPE type, ; #if defined LOGGING || defined _DEBUG || defined DEBUGFAST -#define MAX_LOGLEVEL LogTypes::LDEBUG +#define MAX_LOGLEVEL DEBUG_LEVEL #else #ifndef MAX_LOGLEVEL -#define MAX_LOGLEVEL LogTypes::LWARNING +#define MAX_LOGLEVEL WARNING_LEVEL #endif // loglevel #endif // logging diff --git a/src/common/log_manager.cpp b/src/common/log_manager.cpp index aec2636e..80fd473b 100644 --- a/src/common/log_manager.cpp +++ b/src/common/log_manager.cpp @@ -147,7 +147,7 @@ LogContainer::LogContainer(const char* shortName, const char* fullName, bool ena { strncpy(m_fullName, fullName, 128); strncpy(m_shortName, shortName, 32); - m_level = MAX_LOGLEVEL; + m_level = (LogTypes::LOG_LEVELS)MAX_LOGLEVEL; } // LogContainer |