From ede78a9840ea6c30244a2cb161cfd1cee63b8283 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 6 Dec 2016 19:10:38 +0100 Subject: Always print non-trace messages --- common/log.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/log.cpp') 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, collectDebugArea(fullDebugArea); auto areas = debugOutputFilter(Sink::Log::Area); - if (!areas.isEmpty()) { + if (debugLevel <= Sink::Log::Trace && !areas.isEmpty()) { if (!containsItemStartingWith(fullDebugArea.toUtf8(), areas)) { return QDebug(&nullstream); } -- cgit v1.2.3