diff options
Diffstat (limited to 'src/dutil/dutil.cpp')
| -rw-r--r-- | src/dutil/dutil.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/dutil/dutil.cpp b/src/dutil/dutil.cpp index a32de516..99ce1bc6 100644 --- a/src/dutil/dutil.cpp +++ b/src/dutil/dutil.cpp | |||
| @@ -408,6 +408,12 @@ DAPIV_(void) Dutil_TraceErrorSource( | |||
| 408 | ... | 408 | ... |
| 409 | ) | 409 | ) |
| 410 | { | 410 | { |
| 411 | // if this is NOT an error report and we're not logging at this level, bail | ||
| 412 | if (REPORT_ERROR != rl && Dutil_rlCurrentTrace < rl) | ||
| 413 | { | ||
| 414 | return; | ||
| 415 | } | ||
| 416 | |||
| 411 | if (DUTIL_SOURCE_UNKNOWN != source && vpfnTraceErrorCallback) | 417 | if (DUTIL_SOURCE_UNKNOWN != source && vpfnTraceErrorCallback) |
| 412 | { | 418 | { |
| 413 | va_list args; | 419 | va_list args; |
