23 # include "AssertToNTLog.hpp"
24 # include "EventLog.hpp"
26 #include "../../../core/info.hpp"
27 #include "../../../core/unicode_conversions.hpp"
32 using namespace libjmmcg;
36 JMMCG_REVISION_CONSTANT(_T(LIBJMMCG_VERSION_NUMBER))
41 NTUtils::EventLog NTLog_D87A7F40_F129_11d4_B1AC_0001029FBE99_;
44 inline void __fastcall
45 NTUtils::assertlog(
const char *exp,
const char *file_name,
const unsigned long line) {
47 ss<<_T(
"Debug assertion failed. File: '")<<StringToTString(file_name)
48 <<_T(
"'. Line: ")<<line
49 <<_T(
". Process handle: 0x")<<::GetCurrentProcess()
50 <<_T(
". Process ID: ")<<::GetCurrentProcessId()
51 <<_T(
". Thread handle: 0x")<<::GetCurrentThread()
52 <<_T(
". Thread ID: ")<<::GetCurrentThreadId()
53 <<_T(
". Assertion: '")<<StringToTString(exp)<<_T(
"'.");
54 NTLog_D87A7F40_F129_11d4_B1AC_0001029FBE99_.Log(NTUtils::EventLog::err_error, NTUtils::EventLog::cat_error, ss);