RULE_BOOL(Logging, EnableConsoleLogging, true) /* Turns on or off ALL logging to console */

RULE_BOOL(Logging, EnableFileLogging, true)	/* Turns on or off ALL forms of file logging */
This commit is contained in:
Akkadius
2015-01-10 23:26:10 -06:00
parent 2159a56b17
commit 108d3110b6
3 changed files with 60 additions and 11 deletions
+4 -2
View File
@@ -45,12 +45,14 @@ public:
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 Log(uint16 log_type, const std::string message, ...);
void LogDebug(DebugLevel debug_level, std::string message, ...);
void LogDebugType(DebugLevel debug_level, uint16 log_type, std::string message, ...);
void Log(uint16 log_type, const std::string message, ...);
void MakeDirectory(std::string directory_name);
void SetCurrentTimeStamp(char* time_stamp);
void StartZoneLogs(const std::string log_name);