Remove Log TestDebug

This commit is contained in:
nytmyr
2025-01-26 19:43:47 -06:00
parent fbb2341fca
commit 72fb75a6a2
2 changed files with 1 additions and 13 deletions
+1 -3
View File
@@ -148,7 +148,6 @@ namespace Logs {
BotSettings,
BotSpellChecks,
BotSpellTypeChecks,
TestDebug,
MaxCategoryID /* Don't Remove this */
};
@@ -255,8 +254,7 @@ namespace Logs {
"KSM", // Kernel Samepage Merging
"Bot Settings",
"Bot Spell Checks",
"Bot Spell Type Checks",
"Test Debug"
"Bot Spell Type Checks"
};
}
-10
View File
@@ -904,16 +904,6 @@
OutF(LogSys, Logs::Detail, Logs::BotSpellTypeChecks, __FILE__, __func__, __LINE__, message, ##__VA_ARGS__);\
} while (0)
#define LogTestDebug(message, ...) do {\
if (LogSys.IsLogEnabled(Logs::General, Logs::TestDebug))\
OutF(LogSys, Logs::General, Logs::TestDebug, __FILE__, __func__, __LINE__, message, ##__VA_ARGS__);\
} while (0)
#define LogTestDebugDetail(message, ...) do {\
if (LogSys.IsLogEnabled(Logs::Detail, Logs::TestDebug))\
OutF(LogSys, Logs::Detail, Logs::TestDebug, __FILE__, __func__, __LINE__, message, ##__VA_ARGS__);\
} while (0)
#define Log(debug_level, log_category, message, ...) do {\
if (LogSys.IsLogEnabled(debug_level, log_category))\
LogSys.Out(debug_level, log_category, __FILE__, __func__, __LINE__, message, ##__VA_ARGS__);\