log_sys to logger

enum DebugLevel {
		General = 0,	/* 0 - Low-Level general debugging, useful info on single line */
		Moderate,		/* 1 - Informational based, used in functions, when particular things load */
		Detail,			/* 2 - Use this for extreme detail in logging, usually in extreme debugging in the stack or interprocess communication */
	};
void EQEmuLogSys::LogDebug(DebugLevel debug_level, std::string message, ...)
This commit is contained in:
Akkadius
2015-01-10 14:40:47 -06:00
parent b8ed29c600
commit 84741e4cb1
4 changed files with 40 additions and 16 deletions
+11 -3
View File
@@ -40,17 +40,25 @@ public:
MaxLogID /* Max, used in functions to get the max log ID */
};
void StartZoneLogs(const std::string log_name);
void Log(uint16 log_type, const std::string message);
enum DebugLevel {
General = 0, /* 0 - Low-Level general debugging, useful info on single line */
Moderate, /* 1 - Informational based, used in functions, when particular things load */
Detail, /* 2 - Use this for extreme detail in logging, usually in extreme debugging in the stack or interprocess communication */
};
void CloseZoneLogs();
void ConsoleMessage(uint16 log_type, const std::string message);
void LogDebug(DebugLevel debug_level, std::string message, ...);
void Log(uint16 log_type, const std::string message, ...);
void StartZoneLogs(const std::string log_name);
private:
bool zone_general_init = false;
};
extern EQEmuLogSys log_sys;
extern EQEmuLogSys logger;