Akkadius
c025765283
Renamed DoLog to Out as the aggregate logging function for simplicity of use and shortened syntax of Log.Out
2015-01-18 02:00:15 -06:00
Akkadius
1c048cb1d1
Renamed DebugCategory to DoLog as the aggregate logging function for simplicity of use and shortened syntax of Log.DoLog
2015-01-18 01:54:09 -06:00
Akkadius
40d12d952e
Refactor ProcessConsoleMessage to no longer use type
2015-01-18 01:45:58 -06:00
Akkadius
564bff07fe
Refactor ProcessLogWrite to no longer use type
2015-01-18 01:42:23 -06:00
Akkadius
0926a5ded3
Refactor ProcessGMSay to no longer use type
2015-01-18 01:41:11 -06:00
Akkadius
57ac6c0e98
Remove EQEmuLogSys::Log from consolidation of types into categories
2015-01-18 01:39:01 -06:00
Akkadius
ef04c90d8e
Remove new log prefix from console output
2015-01-18 01:04:59 -06:00
Akkadius
1496f14843
Remove old function code from consolidation
2015-01-18 00:56:26 -06:00
Akkadius
726b3a33f5
Consolidate EQEmuLogsys::Debug stragglers to DebugCategory for further refactoring
2015-01-18 00:06:01 -06:00
Akkadius
132fbbb0c6
Rename LogDebugType to DebugCategory
2015-01-16 03:09:02 -06:00
Akkadius
32a3666170
Add Linux chmod mask 0755 for mkdir
2015-01-16 00:54:27 -06:00
Akkadius
cdc249dde3
Converted SyncWorldtime std::cout
2015-01-16 00:37:36 -06:00
Akkadius
829dd8ddaf
Correct log_settings checks
2015-01-16 00:15:34 -06:00
Akkadius
73b54ffabb
Implement log_settings for ProcessConsoleMessage
2015-01-16 00:14:49 -06:00
Akkadius
0b661a6347
Implement log_settings for ProcessLogWrite
2015-01-16 00:14:16 -06:00
Akkadius
2fb50fa5cc
Implement log_settings for ProcessGMSay
2015-01-16 00:13:56 -06:00
Akkadius
70fbf23d27
Rename LoadLogSettings to LoadLogSettingsDefaults
2015-01-16 00:07:30 -06:00
Akkadius
44b65d1ee5
Add Database::LoadLogSysSettings function
2015-01-15 23:49:20 -06:00
Akkadius
362de5084f
Add category processing to ProcessGMSay so we don't get a zone crash from feedback loop of GMSay outputting packets, then those packets going to GMSay. This would make a log inside of a log inside of a log, I call it, log inception
2015-01-15 22:44:27 -06:00
Akkadius
dbdfb23cc3
Add category to ProcessLogWrite
2015-01-15 22:38:24 -06:00
Akkadius
723b87bba4
Add category to ProcessConsoleMessage
2015-01-15 22:37:36 -06:00
Akkadius
1e10e088ad
Add category to ProcessGMSay
2015-01-15 22:35:58 -06:00
Akkadius
6eae464211
Some EQEmuLogSys changes
2015-01-15 22:17:37 -06:00
Akkadius
bdd170df6c
More moving around of internal EQEmuLogSys functions
2015-01-14 05:12:01 -06:00
Akkadius
99a0012bdd
Removal of rule based settings, moving to separate DB table
2015-01-13 15:13:12 -06:00
Akkadius
72b53ee2a5
EQEmuLogSys internal function consolidation
2015-01-13 15:11:01 -06:00
Akkadius
4bf2bfc8e3
Debug message function updates
2015-01-13 13:43:41 -06:00
Akkadius
509bd2d652
Convert 'TRADESKILLS' debugging _log to logger.LogDebugType
2015-01-12 22:55:44 -06:00
Akkadius
40d32fc1e5
Convert 'UCS' debugging _log to logger.LogDebugType
2015-01-12 22:44:47 -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
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
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
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
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
f4e33f6faa
Changed some console colors
2015-01-10 13:34:39 -06:00
Akkadius
5b4cf79b04
Create console colors type map from Console::Color LogColors
2015-01-10 03:56:52 -06:00
Akkadius
80d11d4ca9
Added eqemu_logsys.cpp/.h
2015-01-10 03:43:44 -06:00