diff options
Diffstat (limited to 'Source/Core/Common/Logging/LogManager.cpp')
| -rw-r--r-- | Source/Core/Common/Logging/LogManager.cpp | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/Source/Core/Common/Logging/LogManager.cpp b/Source/Core/Common/Logging/LogManager.cpp index bed3a183e4..ab795d372a 100644 --- a/Source/Core/Common/Logging/LogManager.cpp +++ b/Source/Core/Common/Logging/LogManager.cpp @@ -62,40 +62,6 @@ private: bool m_enable; }; -void GenericLog(LogLevel level, LogType type, const char* file, int line, const char* fmt, ...) -{ - auto* instance = LogManager::GetInstance(); - if (instance == nullptr) - return; - - if (!instance->IsEnabled(type, level)) - return; - - va_list args; - va_start(args, fmt); - char message[MAX_MSGLEN]; - CharArrayFromFormatV(message, MAX_MSGLEN, fmt, args); - va_end(args); - - instance->Log(level, type, file, line, message); -} - -void GenericLogV(LogLevel level, LogType type, const char* file, int line, const char* fmt, - va_list args) -{ - auto* instance = LogManager::GetInstance(); - if (instance == nullptr) - return; - - if (!instance->IsEnabled(type, level)) - return; - - char message[MAX_MSGLEN]; - CharArrayFromFormatV(message, MAX_MSGLEN, fmt, args); - - instance->Log(level, type, file, line, message); -} - void GenericLogFmtImpl(LogLevel level, LogType type, const char* file, int line, fmt::string_view format, const fmt::format_args& args) { |
