summaryrefslogtreecommitdiff
path: root/src/common/log.h
diff options
context:
space:
mode:
authorGravatar archshift2015-01-10 13:07:50 -0800
committerGravatar archshift2015-01-10 14:32:10 -0800
commit228843c43e21ce4d3ca5fe0adc96fcb34505446b (patch)
treeb965681736fca204e49ea6f2c130409814c3006a /src/common/log.h
parentMerge pull request #458 from yuriks/cmake-debug (diff)
downloadyuzu-228843c43e21ce4d3ca5fe0adc96fcb34505446b.tar.gz
yuzu-228843c43e21ce4d3ca5fe0adc96fcb34505446b.tar.xz
yuzu-228843c43e21ce4d3ca5fe0adc96fcb34505446b.zip
Logging: Log all called service functions (under trace). Compile out all trace logs under release for performance.
Diffstat (limited to 'src/common/log.h')
-rw-r--r--src/common/log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/log.h b/src/common/log.h
index 667f2fbb9..b397cf14d 100644
--- a/src/common/log.h
+++ b/src/common/log.h
@@ -14,7 +14,7 @@
14#endif 14#endif
15#endif 15#endif
16 16
17#if _DEBUG 17#ifdef _DEBUG
18#define _dbg_assert_(_t_, _a_) \ 18#define _dbg_assert_(_t_, _a_) \
19 if (!(_a_)) {\ 19 if (!(_a_)) {\
20 LOG_CRITICAL(_t_, "Error...\n\n Line: %d\n File: %s\n Time: %s\n\nIgnore and continue?", \ 20 LOG_CRITICAL(_t_, "Error...\n\n Line: %d\n File: %s\n Time: %s\n\nIgnore and continue?", \