From 56a4459aa8aae6fe4f401e5f3b2d9f31686c843c Mon Sep 17 00:00:00 2001 From: Akkadius Date: Mon, 19 Jan 2015 04:27:22 -0600 Subject: [PATCH] More stuff --- common/eqemu_logsys.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/eqemu_logsys.h b/common/eqemu_logsys.h index 2ac824624..26a80392f 100644 --- a/common/eqemu_logsys.h +++ b/common/eqemu_logsys.h @@ -114,8 +114,7 @@ namespace Logs{ "WebInterface Server", "World Server", "Zone Server", - }; - + }; } class EQEmuLogSys { @@ -129,7 +128,6 @@ public: void Out(Logs::DebugLevel debug_level, uint16 log_category, std::string message, ...); void SetCurrentTimeStamp(char* time_stamp); void StartFileLogs(const std::string log_name); - uint16 GetConsoleColorFromCategory(uint16 log_category); struct LogSettings{ uint8 log_to_file; @@ -145,9 +143,11 @@ public: private: bool zone_general_init = false; + std::function on_log_gmsay_hook; - std::string FormatOutMessageString(uint16 log_category, std::string in_message); + + uint16 GetConsoleColorFromCategory(uint16 log_category); void ProcessConsoleMessage(uint16 log_category, const std::string message); void ProcessGMSay(uint16 log_category, std::string message);