aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/corelib.qbs
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2017-07-25 16:47:32 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2017-08-02 07:52:43 +0000
commit03834dd9b04182a07729da5aab307ba90eb80a31 (patch)
treef1087cbc9927a2b0de4088e243cbe1ad50710624 /src/lib/corelib/corelib.qbs
parent0509689635b0de988eec30b6f4fff23b56e381e4 (diff)
Use categorized logging for the build graph
Use Qt's categorized logging feature for debug and trace messages in the build graph part of the library. This greatly simplifies the code as we do not have to check explicitly for the log level, and we do not have to forward a Logger object. Change-Id: If44b9ef74ebb2c4670c25e513ec58e1419588196 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/lib/corelib/corelib.qbs')
-rw-r--r--src/lib/corelib/corelib.qbs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/corelib/corelib.qbs b/src/lib/corelib/corelib.qbs
index 8de80c8f4..2195f44f1 100644
--- a/src/lib/corelib/corelib.qbs
+++ b/src/lib/corelib/corelib.qbs
@@ -295,6 +295,8 @@ QbsLibrary {
name: "logging"
prefix: name + '/'
files: [
+ "categories.cpp",
+ "categories.h",
"ilogsink.cpp",
"logger.cpp",
"logger.h",