[Quest API] Port DiaWind Plugin to Native Quest API (#1521)

* Port DiaWind plugin to native Quest API

* Add no logging aliases
This commit is contained in:
Chris Miles
2021-09-05 20:29:21 -05:00
committed by GitHub
parent e7dd8d49a9
commit c078257f70
13 changed files with 874 additions and 327 deletions
+16
View File
@@ -666,6 +666,16 @@
OutF(LogSys, Logs::Detail, Logs::ClientList, __FILE__, __func__, __LINE__, message, ##__VA_ARGS__);\
} while (0)
#define LogDiaWind(message, ...) do {\
if (LogSys.log_settings[Logs::DiaWind].is_category_enabled == 1)\
OutF(LogSys, Logs::General, Logs::DiaWind, __FILE__, __func__, __LINE__, message, ##__VA_ARGS__);\
} while (0)
#define LogDiaWindDetail(message, ...) do {\
if (LogSys.log_settings[Logs::DiaWind].is_category_enabled == 1)\
OutF(LogSys, Logs::Detail, Logs::DiaWind, __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__);\
@@ -1050,6 +1060,12 @@
#define LogClientListDetail(message, ...) do {\
} while (0)
#define LogDiaWind(message, ...) do {\
} while (0)
#define LogDiaWindDetail(message, ...) do {\
} while (0)
#define Log(debug_level, log_category, message, ...) do {\
} while (0)