Add a GUI logging channel.

Replace asserts with _dbg_assert_.
This commit is contained in:
Tony Wasserka 2014-11-13 17:32:03 +01:00
parent 745b0219c5
commit c8d933a142
2 changed files with 2 additions and 0 deletions

View File

@ -69,6 +69,7 @@ enum LOG_TYPE {
HW, HW,
TIME, TIME,
NETPLAY, NETPLAY,
GUI,
NUMBER_OF_LOGS // Must be last NUMBER_OF_LOGS // Must be last
}; };

View File

@ -75,6 +75,7 @@ LogManager::LogManager()
m_Log[LogTypes::ACTIONREPLAY] = new LogContainer("ActionReplay", "ActionReplay"); m_Log[LogTypes::ACTIONREPLAY] = new LogContainer("ActionReplay", "ActionReplay");
m_Log[LogTypes::MEMCARD_MANAGER] = new LogContainer("MemCard Manager", "MemCard Manager"); m_Log[LogTypes::MEMCARD_MANAGER] = new LogContainer("MemCard Manager", "MemCard Manager");
m_Log[LogTypes::NETPLAY] = new LogContainer("NETPLAY", "Netplay"); m_Log[LogTypes::NETPLAY] = new LogContainer("NETPLAY", "Netplay");
m_Log[LogTypes::GUI] = new LogContainer("GUI", "GUI");
m_fileLog = new FileLogListener(FileUtil::GetUserPath(F_MAINLOG_IDX).c_str()); m_fileLog = new FileLogListener(FileUtil::GetUserPath(F_MAINLOG_IDX).c_str());
m_consoleLog = new ConsoleListener(); m_consoleLog = new ConsoleListener();