mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-07 10:23:53 +00:00
Implement log_settings for ProcessLogWrite
This commit is contained in:
parent
2fb50fa5cc
commit
0b661a6347
@ -128,6 +128,10 @@ void EQEmuLogSys::ProcessGMSay(uint16 log_type, uint16 log_category, std::string
|
||||
|
||||
void EQEmuLogSys::ProcessLogWrite(uint16 log_type, uint16 log_category, std::string message)
|
||||
{
|
||||
/* Check if category enabled for process */
|
||||
if (log_settings[log_category].log_to_file)
|
||||
return;
|
||||
|
||||
char time_stamp[80];
|
||||
EQEmuLogSys::SetCurrentTimeStamp(time_stamp);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user