QmlJS: Downgrade default log level

Avoid flooding logging messages by default and let the user enable
them explicitly.

Change-Id: I9f8fe044a460309e4462a5d88bd12a0ab6088731
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Christian Stenger
2021-07-01 11:30:58 +02:00
parent 30981f5ba2
commit af357c47fb

View File

@@ -38,7 +38,7 @@
#include <algorithm> #include <algorithm>
static Q_LOGGING_CATEGORY(importsLog, "qtc.qmljs.imports", QtWarningMsg) static Q_LOGGING_CATEGORY(importsLog, "qtc.qmljs.imports", QtWarningMsg)
static Q_LOGGING_CATEGORY(importsBenchmark, "qtc.qmljs.imports.benchmark", QtDebugMsg) static Q_LOGGING_CATEGORY(importsBenchmark, "qtc.qmljs.imports.benchmark", QtWarningMsg)
class ImportsBenchmarker class ImportsBenchmarker