diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-12-06 19:10:38 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-12-06 19:10:38 +0100 |
commit | ede78a9840ea6c30244a2cb161cfd1cee63b8283 (patch) | |
tree | b1ce4aa62ea470f23adf3e46257da4421f91dc4e /common/log.cpp | |
parent | 7e6dc5801c315d5c8caed75bcb2fa57d030a59a4 (diff) | |
download | sink-ede78a9840ea6c30244a2cb161cfd1cee63b8283.tar.gz sink-ede78a9840ea6c30244a2cb161cfd1cee63b8283.zip |
Always print non-trace messages
Diffstat (limited to 'common/log.cpp')
-rw-r--r-- | common/log.cpp | 2 |
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 | } |