Use KF-standardized Qt logging categories

See https://community.kde.org/Frameworks/Frameworks_Logging_Policy
This commit is contained in:
Friedrich W. H. Kossebau 2020-07-13 04:01:44 +02:00
parent d1136c4bac
commit 9a04f2637f
3 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@
#include <QCoreApplication>
// logging category for this framework, default: log stuff >= warning
Q_LOGGING_CATEGORY(EPSPLUGIN, "kf5.kimageformats.epsplugin", QtWarningMsg)
Q_LOGGING_CATEGORY(EPSPLUGIN, "kf.imageformats.plugins.eps", QtWarningMsg)
//#define EPS_PERFORMANCE_DEBUG 1

View File

@ -19,7 +19,7 @@
typedef unsigned char uchar;
Q_LOGGING_CATEGORY(HDRPLUGIN, "kf5.kimageformats.hdrplugin", QtWarningMsg)
Q_LOGGING_CATEGORY(HDRPLUGIN, "kf.imageformats.plugins.hdr", QtWarningMsg)
namespace // Private.
{

View File

@ -36,7 +36,7 @@
#include "gimp_p.h"
Q_DECLARE_LOGGING_CATEGORY(XCFPLUGIN)
Q_LOGGING_CATEGORY(XCFPLUGIN, "xcfplugin", QtWarningMsg)
Q_LOGGING_CATEGORY(XCFPLUGIN, "kf.imageformats.plugins.xcf", QtWarningMsg)
const float INCHESPERMETER = (100.0f / 2.54f);