mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-05-28 00:30:23 -04:00
Use KF-standardized Qt logging categories
See https://community.kde.org/Frameworks/Frameworks_Logging_Policy
This commit is contained in:
parent
d1136c4bac
commit
9a04f2637f
@ -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
|
||||
|
||||
|
@ -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.
|
||||
{
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user