mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
Consolidate EQEmuLogsys::Debug stragglers to DebugCategory for further refactoring
This commit is contained in:
+11
-11
@@ -190,17 +190,17 @@ void EQEmuLogSys::DebugCategory(DebugLevel debug_level, uint16 log_category, std
|
||||
EQEmuLogSys::ProcessLogWrite(EQEmuLogSys::Debug, log_category, output_debug_message);
|
||||
}
|
||||
|
||||
void EQEmuLogSys::LogDebug(DebugLevel debug_level, std::string message, ...)
|
||||
{
|
||||
va_list args;
|
||||
va_start(args, message);
|
||||
std::string output_message = vStringFormat(message.c_str(), args);
|
||||
va_end(args);
|
||||
|
||||
EQEmuLogSys::ProcessConsoleMessage(EQEmuLogSys::Debug, 0, output_message);
|
||||
EQEmuLogSys::ProcessGMSay(EQEmuLogSys::Debug, 0, output_message);
|
||||
EQEmuLogSys::ProcessLogWrite(EQEmuLogSys::Debug, 0, output_message);
|
||||
}
|
||||
// void EQEmuLogSys::LogDebug(DebugLevel debug_level, std::string message, ...)
|
||||
// {
|
||||
// va_list args;
|
||||
// va_start(args, message);
|
||||
// std::string output_message = vStringFormat(message.c_str(), args);
|
||||
// va_end(args);
|
||||
//
|
||||
// EQEmuLogSys::ProcessConsoleMessage(EQEmuLogSys::Debug, 0, output_message);
|
||||
// EQEmuLogSys::ProcessGMSay(EQEmuLogSys::Debug, 0, output_message);
|
||||
// EQEmuLogSys::ProcessLogWrite(EQEmuLogSys::Debug, 0, output_message);
|
||||
// }
|
||||
|
||||
void EQEmuLogSys::Log(uint16 log_type, const std::string message, ...)
|
||||
{
|
||||
|
||||
@@ -85,7 +85,7 @@ public:
|
||||
void CloseFileLogs();
|
||||
void LoadLogSettingsDefaults();
|
||||
void Log(uint16 log_type, const std::string message, ...);
|
||||
void LogDebug(DebugLevel debug_level, std::string message, ...);
|
||||
//void LogDebug(DebugLevel debug_level, std::string message, ...);
|
||||
//void DebugCategory(DebugLevel debug_level, uint16 log_category, std::string message, ...);
|
||||
void DebugCategory(DebugLevel debug_level, uint16 log_category, std::string message, ...);
|
||||
void MakeDirectory(std::string directory_name);
|
||||
|
||||
Reference in New Issue
Block a user