mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-30 13:32:26 +00:00
Add uint16 debug_level to ProcessLogWrite
This commit is contained in:
parent
e48234b2af
commit
9faa2117d5
@ -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 */
|
/* Check if category enabled for process */
|
||||||
if (log_settings[log_category].log_to_file == 0)
|
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::ProcessConsoleMessage(0, log_category, output_debug_message);
|
||||||
EQEmuLogSys::ProcessGMSay(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){
|
void EQEmuLogSys::SetCurrentTimeStamp(char* time_stamp){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user