Add uint16 debug_level to ProcessLogWrite

This commit is contained in:
Akkadius 2015-01-20 02:59:06 -06:00
parent e48234b2af
commit 9faa2117d5

View File

@ -116,7 +116,7 @@ void EQEmuLogSys::ProcessGMSay(uint16 log_category, std::string message)
}
}
void EQEmuLogSys::ProcessLogWrite(uint16 log_category, std::string message)
void EQEmuLogSys::ProcessLogWrite(uint16 debug_level, uint16 log_category, std::string message)
{
/* Check if category enabled for process */
if (log_settings[log_category].log_to_file == 0)
@ -230,7 +230,7 @@ void EQEmuLogSys::Out(Logs::DebugLevel debug_level, uint16 log_category, std::st
EQEmuLogSys::ProcessConsoleMessage(0, log_category, output_debug_message);
EQEmuLogSys::ProcessGMSay(log_category, output_debug_message);
EQEmuLogSys::ProcessLogWrite(log_category, output_debug_message);
EQEmuLogSys::ProcessLogWrite(0, log_category, output_debug_message);
}
void EQEmuLogSys::SetCurrentTimeStamp(char* time_stamp){