mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
RULE_INT(Logging, DebugLogLevel, 0) /* Sets Debug Level, -1 = OFF, 0 = Low Level, 1 = Info, 2 = Extreme */
This commit is contained in:
+5
-1
@@ -176,7 +176,11 @@ int main(int argc, char** argv) {
|
||||
|
||||
GuildBanks = nullptr;
|
||||
|
||||
logger.LogDebug(EQEmuLogSys::DebugLevel::General, "This is a crazy test message, database is %s and username is %s", Config->DatabaseDB.c_str(), Config->DatabaseUsername.c_str());
|
||||
logger.LogDebug(EQEmuLogSys::General, "Test, Debug Log Level 0");
|
||||
logger.LogDebug(EQEmuLogSys::Moderate, "Test, Debug Log Level 1");
|
||||
logger.LogDebug(EQEmuLogSys::Detail, "Test, Debug Log Level 2");
|
||||
|
||||
logger.LogDebug(EQEmuLogSys::General, "This is a crazy test message, database is '%s' and port is %u", Config->DatabaseDB.c_str(), Config->DatabasePort);
|
||||
|
||||
#ifdef _EQDEBUG
|
||||
_CrtSetDbgFlag( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF);
|
||||
|
||||
Reference in New Issue
Block a user