Commit Graph

3469 Commits

Author SHA1 Message Date
Akkadius 53db4771f7 Convert 'DOORS' debugging _log to logger.LogDebugType 2015-01-12 22:54:16 -06:00
Akkadius 463b358992 Convert 'INVENTORY' debugging _log to logger.LogDebugType 2015-01-12 22:53:46 -06:00
Akkadius eaf2da1171 Convert 'TRIBUTE' debugging _log to logger.LogDebugType 2015-01-12 22:53:17 -06:00
Akkadius 3693868acf Convert 'SPAWNS' debugging _log to logger.LogDebugType 2015-01-12 22:52:46 -06:00
Akkadius 683ff1ea60 Convert 'SPELLS' debugging _log to logger.LogDebugType 2015-01-12 22:52:11 -06:00
Akkadius 3390164aea Convert 'TRADING' debugging _log to logger.LogDebugType 2015-01-12 22:51:35 -06:00
Akkadius 49ecd69b34 Convert 'LAUNCHER' debugging _log to logger.LogDebugType 2015-01-12 22:50:09 -06:00
Akkadius 4c50025f13 Convert 'ZoneServer' debugging _log to logger.LogDebugType 2015-01-12 22:47:37 -06:00
Akkadius 40d32fc1e5 Convert 'UCS' debugging _log to logger.LogDebugType 2015-01-12 22:44:47 -06:00
Akkadius f26f49c2a1 Convert 'QueryServ' debugging _log to logger.LogDebugType 2015-01-12 22:37:20 -06:00
Akkadius c288ca5204 Convert 'Guilds' debugging _log to logger.LogDebugType 2015-01-12 22:32:44 -06:00
Akkadius 6c0e2631dc Convert rules debugging _log to logger.LogDebugType 2015-01-12 22:29:56 -06:00
Akkadius 6e11baf308 Convert world debugging _log to logger.LogDebugType 2015-01-12 22:28:16 -06:00
Akkadius bc02d7c31a More netcode debugging _log to logger.LogDebugType 2015-01-12 22:20:11 -06:00
Akkadius 34f30b974e More netcode debugging _log to logger.LogDebugType 2015-01-12 22:07:16 -06:00
Akkadius ffdce868c1 Convert netcode debugging _log to logger.LogDebugType 2015-01-12 21:45:49 -06:00
Akkadius 4811631127 Convert _log from TASKS category 2015-01-12 21:19:19 -06:00
Akkadius b1939aaa3e Remove Save from LogTypes 2015-01-12 20:58:17 -06:00
Akkadius 9d355f0f99 Add zone callback for client messages so log messages can be piped to it 2015-01-12 20:11:23 -06:00
Akkadius 08a23265f8 Make some log functions less process specific in naming 2015-01-12 12:37:33 -06:00
Akkadius fac1361d36 logger.LoadLogSettings() added after each platform executable registry
Added int return for platform executable
2015-01-12 05:15:31 -06:00
Akkadius 2e397b1383 static const char* LogCategoryName[EQEmuLogSys::LogCategory::MaxCategoryID]
enum LogCategory
2015-01-12 05:14:46 -06:00
Akkadius 489f24a80a Preliminary addition of log settings map 2015-01-12 02:16:57 -06:00
Akkadius 3c53d907da Fix double construction of EQEmuLogSys 2015-01-11 22:41:44 -06:00
Akkadius 855f7ac2a0 Quote fix 2015-01-11 00:20:43 -06:00
Akkadius 108d3110b6 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 */
2015-01-10 23:26:10 -06:00
Akkadius 2159a56b17 Add log test command #logtest 2015-01-10 23:25:50 -06:00
Akkadius b1fbcc51e0 linux compile fix 2015-01-10 20:52:51 -06:00
Akkadius ce0a5cf7b8 Add LogDebugType(DebugLevel debug_level, uint16 log_type, std::string message, ...) 2015-01-10 20:14:27 -06:00
Akkadius 17d9b9199c Replace rest of EQEmuLog->write with EQEmuLogSys Log 2015-01-10 19:36:15 -06:00
Akkadius 167e11426f Log Message reword for zone and world bootup failure 2015-01-10 19:32:07 -06:00
Akkadius 7e7c59967c _log error convert to logger.Log(EQEmuLogSys::Error 2015-01-10 19:05:46 -06:00
Akkadius b2a1597e73 More _log Client replacements 2015-01-10 18:52:27 -06:00
Akkadius d459c144fe replace mlog with logger.LogDebug 2015-01-10 18:38:04 -06:00
Akkadius fc76e5c8ac pathing _log to logger.LogDebug 2015-01-10 18:29:27 -06:00
Akkadius 7a9860fdd1 Added EQEmuLogSys logger; pointer to the rest of the projects 2015-01-10 18:12:58 -06:00
Akkadius b7ade8bf1b EQEmuLog::Dump preprocessor remove 2015-01-10 17:27:24 -06:00
Akkadius 26b550dd0d More log replacements 2015-01-10 16:01:43 -06:00
Akkadius 18c837c398 Replaced various other log calls in zone 2015-01-10 15:59:32 -06:00
Akkadius 4bf74348a1 Replaced Error calls 2015-01-10 15:56:09 -06:00
Akkadius a92233240c Replaced Normal calls 2015-01-10 15:55:10 -06:00
Akkadius fdbd76e4ad Replaced Status log calls 2015-01-10 15:54:37 -06:00
Akkadius b76e179d75 Fix spacing 2015-01-10 15:47:36 -06:00
Akkadius 6844645dfb Replace LogFile->write(EQEmuLog::Error, with logger.logevents(EQEmuLogSys::Error 2015-01-10 15:44:35 -06:00
Akkadius dadae1a71f Replaced Debug messages: LogFile->write with logger.LogDebug 2015-01-10 15:26:38 -06:00
Akkadius ebb2659630 Line changes 2015-01-10 15:08:30 -06:00
Akkadius 9e4ef74dd5 RULE_INT(Logging, DebugLogLevel, 0) /* Sets Debug Level, -1 = OFF, 0 = Low Level, 1 = Info, 2 = Extreme */ 2015-01-10 14:59:32 -06:00
Akkadius 84741e4cb1 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, ...)
2015-01-10 14:40:47 -06:00
Akkadius b8ed29c600 Add RULE_CATEGORY(Logging)
RULE_BOOL(Logging, ConsoleLogCommands, false)  /* Turns on or off console logs */
RULE_BOOL(Logging, LogFileCommands, false)
RULE_CATEGORY_END()
2015-01-10 14:37:33 -06:00
Akkadius 01ca81a177 Remove debugging and generalize the Log function 2015-01-10 13:35:02 -06:00