mirror of
https://github.com/PabloMK7/citra.git
synced 2024-11-16 12:03:25 +01:00
logger fix for linux
This commit is contained in:
parent
4de763f462
commit
505d984f16
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user