From 4b4e48818914d7c2b961428f03ca696801b70b2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Wed, 16 Aug 2017 22:24:24 +0200 Subject: WFS: Use a separate log type for WFS related logs Makes it easier to turn off general IOS messages that can be distracting (e.g. /dev/net/ssl being opened hundreds of time...) without losing the ability to view WFS messages. --- Source/Core/Common/Logging/Log.h | 1 + Source/Core/Common/Logging/LogManager.cpp | 1 + 2 files changed, 2 insertions(+) (limited to 'Source/Core/Common') diff --git a/Source/Core/Common/Logging/Log.h b/Source/Core/Common/Logging/Log.h index 43451767df..7db7b39c9b 100644 --- a/Source/Core/Common/Logging/Log.h +++ b/Source/Core/Common/Logging/Log.h @@ -38,6 +38,7 @@ enum LOG_TYPE IOS_STM, IOS_USB, IOS_WC24, + IOS_WFS, IOS_WIIMOTE, MASTER_LOG, MEMMAP, diff --git a/Source/Core/Common/Logging/LogManager.cpp b/Source/Core/Common/Logging/LogManager.cpp index a18397a976..a4c7adb49a 100644 --- a/Source/Core/Common/Logging/LogManager.cpp +++ b/Source/Core/Common/Logging/LogManager.cpp @@ -106,6 +106,7 @@ LogManager::LogManager() m_log[LogTypes::IOS_NET] = {"IOS_NET", "IOS - Network"}; m_log[LogTypes::IOS_USB] = {"IOS_USB", "IOS - USB"}; m_log[LogTypes::IOS_WC24] = {"IOS_WC24", "IOS - WiiConnect24"}; + m_log[LogTypes::IOS_WFS] = {"IOS_WFS", "IOS - WFS"}; m_log[LogTypes::IOS_WIIMOTE] = {"IOS_WIIMOTE", "IOS - Wii Remote"}; m_log[LogTypes::MASTER_LOG] = {"*", "Master Log"}; m_log[LogTypes::MEMCARD_MANAGER] = {"MemCard Manager", "MemCard Manager"}; -- cgit v1.2.3