aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/common
diff options
context:
space:
mode:
authorGravatar Tony Wasserka <NeoBrainX@gmail.com>2014-11-13 17:32:03 +0100
committerGravatar Tony Wasserka <NeoBrainX@gmail.com>2014-11-18 13:03:02 +0100
commitc8d933a14211ce6ee02659ecef758a1f303bc87f (patch)
tree3f7a6a5bd652602b5e5ea6442c14d2b855c4dd4b /src/common
parent745b0219c5dae25d65f18ef13fd5dfd9ca23b671 (diff)
Add a GUI logging channel.
Replace asserts with _dbg_assert_.
Diffstat (limited to 'src/common')
-rw-r--r--src/common/log.h1
-rw-r--r--src/common/log_manager.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/common/log.h b/src/common/log.h
index bfd73f8a..822cd21e 100644
--- a/src/common/log.h
+++ b/src/common/log.h
@@ -69,6 +69,7 @@ enum LOG_TYPE {
HW,
TIME,
NETPLAY,
+ GUI,
NUMBER_OF_LOGS // Must be last
};
diff --git a/src/common/log_manager.cpp b/src/common/log_manager.cpp
index 4d590d98..687f4e33 100644
--- a/src/common/log_manager.cpp
+++ b/src/common/log_manager.cpp
@@ -75,6 +75,7 @@ LogManager::LogManager()
m_Log[LogTypes::ACTIONREPLAY] = new LogContainer("ActionReplay", "ActionReplay");
m_Log[LogTypes::MEMCARD_MANAGER] = new LogContainer("MemCard Manager", "MemCard Manager");
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_consoleLog = new ConsoleListener();