mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-29 08:38:20 +00:00
More loginserver refactorings and cleanup
This commit is contained in:
@@ -157,6 +157,11 @@ namespace Logs {
|
||||
};
|
||||
}
|
||||
|
||||
#define Error(message, ...) do {\
|
||||
if (LogSys.log_settings[Logs::Error].is_category_enabled == 1)\
|
||||
OutF(LogSys, Logs::General, Logs::Error, __FILE__, __func__, __LINE__, message, ##__VA_ARGS__);\
|
||||
} while (0)
|
||||
|
||||
#define Log(debug_level, log_category, message, ...) do {\
|
||||
if (LogSys.log_settings[log_category].is_category_enabled == 1)\
|
||||
LogSys.Out(debug_level, log_category, __FILE__, __func__, __LINE__, message, ##__VA_ARGS__);\
|
||||
|
||||
Reference in New Issue
Block a user