diff options
author | Ingo Klöcker <[email protected]> | 2021-06-02 08:56:52 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2021-06-02 08:56:52 +0000 |
commit | 5bc4e23a57f149c2a7008c1b88ab3d398ce75e9b (patch) | |
tree | 8b3d5daef4b251f39e2ce52f22ea2aab150ac439 /lang/qt/src/qgpgme_debug.cpp | |
parent | core: Fix a few checks for number of fields in keylist result parser. (diff) | |
download | gpgme-5bc4e23a57f149c2a7008c1b88ab3d398ce75e9b.tar.gz gpgme-5bc4e23a57f149c2a7008c1b88ab3d398ce75e9b.zip |
qt: Add separate logging category for result of config loading
* lang/qt/src/qgpgme_debug.h: Make include guard match file name.
* lang/qt/src/qgpgme_debug.h, lang/qt/src/qgpgme_debug.cpp
(QGPGME_CONFIG_LOADING_LOG): New.
* lang/qt/src/qgpgmenewcryptoconfig.cpp
(QGpgMENewCryptoConfig::reloadConfiguration): Use new logging category.
--
Use a separate logging category for the extremely noisy logging of
the result of config loading to make debug logging more useful.
GnuPG-bug-id: 5217
Diffstat (limited to 'lang/qt/src/qgpgme_debug.cpp')
-rw-r--r-- | lang/qt/src/qgpgme_debug.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/qt/src/qgpgme_debug.cpp b/lang/qt/src/qgpgme_debug.cpp index 4ed859e2..513a9b08 100644 --- a/lang/qt/src/qgpgme_debug.cpp +++ b/lang/qt/src/qgpgme_debug.cpp @@ -1,5 +1,3 @@ -// This file is autogenerated by CMake: DO NOT EDIT - #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -9,6 +7,8 @@ #if QT_VERSION >= QT_VERSION_CHECK(5, 4, 0) Q_LOGGING_CATEGORY(QGPGME_LOG, "gpg.qgpgme", QtWarningMsg) +Q_LOGGING_CATEGORY(QGPGME_CONFIG_LOADING_LOG, "gpg.qgpgme.config_loading", QtInfoMsg) #else Q_LOGGING_CATEGORY(QGPGME_LOG, "gpg.qgpgme") +Q_LOGGING_CATEGORY(QGPGME_CONFIG_LOADING_LOG, "gpg.qgpgme.config_loading") #endif |