diff options
author | bunnei <bunneidev@gmail.com> | 2018-07-03 00:26:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-03 00:26:45 -0400 |
commit | 15e68cdbaac38bbf13cd4eb0d70d1e34b2fd4256 (patch) | |
tree | 9d072a572c0037a44e1e35aeffc242d3772a383c /src/common/assert.h | |
parent | e3ca561ea0aa2e38dd1bba6757c7170448579554 (diff) | |
parent | 76b475faf774a7a357bdc707e556c75f7975bc45 (diff) |
Merge pull request #607 from jroweboy/logging
Logging - Customizable backends
Diffstat (limited to 'src/common/assert.h')
-rw-r--r-- | src/common/assert.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/common/assert.h b/src/common/assert.h index 3ee07f6a2..655446f34 100644 --- a/src/common/assert.h +++ b/src/common/assert.h @@ -30,15 +30,14 @@ __declspec(noinline, noreturn) #define ASSERT(_a_) \ do \ if (!(_a_)) { \ - assert_noinline_call([] { NGLOG_CRITICAL(Debug, "Assertion Failed!"); }); \ + assert_noinline_call([] { LOG_CRITICAL(Debug, "Assertion Failed!"); }); \ } \ while (0) #define ASSERT_MSG(_a_, ...) \ do \ if (!(_a_)) { \ - assert_noinline_call( \ - [&] { NGLOG_CRITICAL(Debug, "Assertion Failed!\n" __VA_ARGS__); }); \ + assert_noinline_call([&] { LOG_CRITICAL(Debug, "Assertion Failed!\n" __VA_ARGS__); }); \ } \ while (0) |