summaryrefslogtreecommitdiffstats
path: root/src/Log.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Log.cpp')
-rw-r--r--src/Log.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Log.cpp b/src/Log.cpp
index 23bbcf3f..b52f470c 100644
--- a/src/Log.cpp
+++ b/src/Log.cpp
@@ -87,7 +87,9 @@ Log::vtprintf(LV2_URID type, const char* fmt, va_list args)
int ret = 0;
if (type == _uris.log_Trace && !_trace) {
return 0;
- } else if (_sink) {
+ }
+
+ if (_sink) {
_sink(type, fmt, args);
}