mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-18 22:30:03 +00:00
Implement Assertion properly, TID printing in debug builds
This commit is contained in:
@@ -8,6 +8,7 @@ void InitLog();
|
||||
#define DebugPrintTID(what) DebugPrintTIDInternal(what, __func__)
|
||||
void DebugPrintTIDInternal(const std::string& what, const std::string& func); // prints the current thread id in debug mode, to make tracing of crashes and asserts easier
|
||||
void ConsoleOut(const std::string& msg);
|
||||
void QueueAbort();
|
||||
void except(const std::string& toPrint);
|
||||
void debug(const std::string& toPrint);
|
||||
void error(const std::string& toPrint);
|
||||
|
||||
Reference in New Issue
Block a user