diff options
author | Jarek Kobus <jaroslaw.kobus@theqtcompany.com> | 2015-04-23 12:00:17 +0200 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@theqtcompany.com> | 2015-04-24 12:57:10 +0000 |
commit | 2554ccb7ba4ef3103411e38b0c2d5d218217cccd (patch) | |
tree | c2ba19a0d5b834f2f5783c725dc115e3c3b4efbe /src/libs/installer/globals.h | |
parent | 61bf0345cdc86dc4053a5c2c1c3f782b5fd970ed (diff) |
Enable logging categories as an installer option.
Now by default all categories are disabled.
They get enabled only in verbose mode.
Verbose mode enables all categories by default.
Categories can be filtered using logging-rules option.
Change-Id: I9324826a6e2d7a746e3d7369747fcd31a42b84b6
Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Diffstat (limited to 'src/libs/installer/globals.h')
-rw-r--r-- | src/libs/installer/globals.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libs/installer/globals.h b/src/libs/installer/globals.h index 4df5878b9..3d6461690 100644 --- a/src/libs/installer/globals.h +++ b/src/libs/installer/globals.h @@ -37,10 +37,14 @@ #include "installer_global.h" #include <QRegExp> +#include <QLoggingCategory> namespace QInstaller { +Q_DECLARE_LOGGING_CATEGORY(lcComponentChecker) + QRegExp INSTALLER_EXPORT commaRegExp(); +QStringList INSTALLER_EXPORT loggingCategories(); } // QInstaller |