mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-14 15:41:30 +00:00
Implement log_settings for ProcessConsoleMessage
This commit is contained in:
parent
0b661a6347
commit
73b54ffabb
@ -145,6 +145,10 @@ void EQEmuLogSys::ProcessLogWrite(uint16 log_type, uint16 log_category, std::str
|
||||
|
||||
void EQEmuLogSys::ProcessConsoleMessage(uint16 log_type, uint16 log_category, const std::string message)
|
||||
{
|
||||
/* Check if category enabled for process */
|
||||
if (log_settings[log_category].log_to_console)
|
||||
return;
|
||||
|
||||
if (log_type > EQEmuLogSys::MaxLogID){
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user