Logging: Log all called service functions (under trace). Compile out all trace logs under release for performance.

This commit is contained in:
archshift
2015-01-10 13:07:50 -08:00
parent 083072de56
commit 228843c43e
12 changed files with 30 additions and 57 deletions

View File

@ -14,7 +14,7 @@
#endif
#endif
#if _DEBUG
#ifdef _DEBUG
#define _dbg_assert_(_t_, _a_) \
if (!(_a_)) {\
LOG_CRITICAL(_t_, "Error...\n\n Line: %d\n File: %s\n Time: %s\n\nIgnore and continue?", \