mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-09-18 18:27:18 +02:00
Dummy event server traceback.
Include dummy logs before and after server events to track their order and progress for easier. Current implementation is quite simple and doesn't take into account nesting.
This commit is contained in:
@@ -555,6 +555,21 @@ enum EntityType
|
||||
#define STHROWLASTF(m, ...) SqThrowLastF(m, ##__VA_ARGS__)
|
||||
#endif // _DEBUG
|
||||
|
||||
/* ------------------------------------------------------------------------------------------------
|
||||
* EVENT TRACEBACK
|
||||
*/
|
||||
#if defined(_DEBUG) || defined(SQMOD_ENABLE_SV_EV_TRACEBACK)
|
||||
#define SQMOD_SV_EV_TRACEBACK(m, ...) LogDbg(m, ##__VA_ARGS__)
|
||||
#else
|
||||
#define SQMOD_SV_EV_TRACEBACK(m, ...) /*ignored...*/
|
||||
#endif // _DEBUG
|
||||
|
||||
#if defined(_DEBUG) || defined(SQMOD_ENABLE_CO_EV_TRACEBACK)
|
||||
#define SQMOD_CO_EV_TRACEBACK(m, ...) LogSDbg(m, ##__VA_ARGS__)
|
||||
#else
|
||||
#define SQMOD_CO_EV_TRACEBACK(m, ...) /*ignored...*/
|
||||
#endif // _DEBUG
|
||||
|
||||
/* ------------------------------------------------------------------------------------------------
|
||||
* VARIOUS DEFINES
|
||||
*/
|
||||
|
Reference in New Issue
Block a user