mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 05:21:29 +00:00
Implement EQEmuLogSys::GetConsoleColorFromCategory in ProcessConsoleMessage
This commit is contained in:
parent
2f74f07be7
commit
b546848313
@ -159,12 +159,7 @@ void EQEmuLogSys::ProcessConsoleMessage(uint16 log_category, const std::string m
|
|||||||
info.FontWeight = FW_NORMAL;
|
info.FontWeight = FW_NORMAL;
|
||||||
wcscpy(info.FaceName, L"Lucida Console");
|
wcscpy(info.FaceName, L"Lucida Console");
|
||||||
SetCurrentConsoleFontEx(console_handle, NULL, &info);
|
SetCurrentConsoleFontEx(console_handle, NULL, &info);
|
||||||
//if (LogColors[log_type]){
|
SetConsoleTextAttribute(console_handle, EQEmuLogSys::GetConsoleColorFromCategory(log_category));
|
||||||
// SetConsoleTextAttribute(console_handle, LogColors[log_type]);
|
|
||||||
//}
|
|
||||||
//else{
|
|
||||||
SetConsoleTextAttribute(console_handle, Console::Color::White);
|
|
||||||
//}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
std::cout << message << "\n";
|
std::cout << message << "\n";
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user