summaryrefslogtreecommitdiffstats
path: root/common/log.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-12-06 19:10:38 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-12-06 19:10:38 +0100
commitede78a9840ea6c30244a2cb161cfd1cee63b8283 (patch)
treeb1ce4aa62ea470f23adf3e46257da4421f91dc4e /common/log.cpp
parent7e6dc5801c315d5c8caed75bcb2fa57d030a59a4 (diff)
downloadsink-ede78a9840ea6c30244a2cb161cfd1cee63b8283.tar.gz
sink-ede78a9840ea6c30244a2cb161cfd1cee63b8283.zip
Always print non-trace messages
Diffstat (limited to 'common/log.cpp')
-rw-r--r--common/log.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/log.cpp b/common/log.cpp
index 61ba46a..c677521 100644
--- a/common/log.cpp
+++ b/common/log.cpp
@@ -311,7 +311,7 @@ QDebug Sink::Log::debugStream(DebugLevel debugLevel, int line, const char *file,
311 collectDebugArea(fullDebugArea); 311 collectDebugArea(fullDebugArea);
312 312
313 auto areas = debugOutputFilter(Sink::Log::Area); 313 auto areas = debugOutputFilter(Sink::Log::Area);
314 if (!areas.isEmpty()) { 314 if (debugLevel <= Sink::Log::Trace && !areas.isEmpty()) {
315 if (!containsItemStartingWith(fullDebugArea.toUtf8(), areas)) { 315 if (!containsItemStartingWith(fullDebugArea.toUtf8(), areas)) {
316 return QDebug(&nullstream); 316 return QDebug(&nullstream);
317 } 317 }