diff options
| author | 2015-01-10 13:07:50 -0800 | |
|---|---|---|
| committer | 2015-01-10 14:32:10 -0800 | |
| commit | 228843c43e21ce4d3ca5fe0adc96fcb34505446b (patch) | |
| tree | b965681736fca204e49ea6f2c130409814c3006a /src/common/log.h | |
| parent | Merge pull request #458 from yuriks/cmake-debug (diff) | |
| download | yuzu-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.h | 2 |
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?", \ |