aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/logging
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2017-07-31 12:59:52 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2017-08-02 07:52:55 +0000
commit733aa0eb6bc049e2486ca74b18a59b4c36a5353a (patch)
tree9aa6f1509189fb5078352a352d83a546a2e5d18f /src/lib/corelib/logging
parentfb13df6b5036432e2b27543538bf30fe47ad0c8d (diff)
Use categorized logging for the moc scanner
Change-Id: Ia5f9944887d31f6b9234487d626bd4d034a6fa4a Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/lib/corelib/logging')
-rw-r--r--src/lib/corelib/logging/categories.cpp1
-rw-r--r--src/lib/corelib/logging/categories.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/corelib/logging/categories.cpp b/src/lib/corelib/logging/categories.cpp
index 00eb91f0d..4d6fb55cf 100644
--- a/src/lib/corelib/logging/categories.cpp
+++ b/src/lib/corelib/logging/categories.cpp
@@ -45,6 +45,7 @@ namespace Internal {
Q_LOGGING_CATEGORY(lcBuildGraph, "qbs.buildgraph", QtCriticalMsg)
Q_LOGGING_CATEGORY(lcDepScan, "qbs.depscan", QtCriticalMsg)
Q_LOGGING_CATEGORY(lcExec, "qbs.exec", QtCriticalMsg)
+Q_LOGGING_CATEGORY(lcMocScan, "qbs.mocscan", QtCriticalMsg)
Q_LOGGING_CATEGORY(lcUpToDateCheck, "qbs.uptodate", QtCriticalMsg)
} // namespace Internal
diff --git a/src/lib/corelib/logging/categories.h b/src/lib/corelib/logging/categories.h
index 37fa66da5..b29afe504 100644
--- a/src/lib/corelib/logging/categories.h
+++ b/src/lib/corelib/logging/categories.h
@@ -48,6 +48,7 @@ namespace Internal {
Q_DECLARE_LOGGING_CATEGORY(lcBuildGraph)
Q_DECLARE_LOGGING_CATEGORY(lcDepScan)
Q_DECLARE_LOGGING_CATEGORY(lcExec)
+Q_DECLARE_LOGGING_CATEGORY(lcMocScan)
Q_DECLARE_LOGGING_CATEGORY(lcUpToDateCheck)
} // namespace Internal