Added Logs::Mercenaries to the new Logging System. Logging of Mercenary information is off by default with the required SQL.

This commit is contained in:
Trevius
2015-01-25 12:31:07 -06:00
parent 966acb25b3
commit fc5266e115
11 changed files with 61 additions and 115 deletions
+3
View File
@@ -188,6 +188,7 @@ uint16 EQEmuLogSys::GetWindowsConsoleColorFromCategory(uint16 log_category){
case Logs::Quests:
return Console::Color::LightCyan;
case Logs::Commands:
case Logs::Mercenaries:
return Console::Color::LightMagenta;
case Logs::Crash:
return Console::Color::LightRed;
@@ -210,6 +211,7 @@ std::string EQEmuLogSys::GetLinuxConsoleColorFromCategory(uint16 log_category){
case Logs::Quests:
return LC_CYAN;
case Logs::Commands:
case Logs::Mercenaries:
return LC_MAGENTA;
case Logs::Crash:
return LC_RED;
@@ -232,6 +234,7 @@ uint16 EQEmuLogSys::GetGMSayColorFromCategory(uint16 log_category){
case Logs::Quests:
return 258; /* Light Cyan */
case Logs::Commands:
case Logs::Mercenaries:
return 5; /* Light Purple */
case Logs::Crash:
return 13; /* Red */
+2
View File
@@ -76,6 +76,7 @@ namespace Logs{
Zone_Server,
MySQLError,
MySQLQuery,
Mercenaries,
MaxCategoryID /* Don't Remove this*/
};
@@ -118,6 +119,7 @@ namespace Logs{
"Zone Server",
"MySQL Error",
"MySQL Query",
"Mercenaries",
};
}
+1 -1
View File
@@ -30,7 +30,7 @@
Manifest: https://github.com/EQEmu/Server/blob/master/utils/sql/db_update_manifest.txt
*/
#define CURRENT_BINARY_DATABASE_VERSION 9068
#define CURRENT_BINARY_DATABASE_VERSION 9069
#define COMPILE_DATE __DATE__
#define COMPILE_TIME __TIME__
#ifndef WIN32