File indexing completed on 2024-05-12 15:59:29

0001 /*
0002  *  SPDX-FileCopyrightText: 2015 Boudewijn Rempt <boud@valdyas.org>
0003  *
0004  *  SPDX-License-Identifier: GPL-2.0-or-later
0005  */
0006 #ifndef _DEBUG_PIGMENT_H_
0007 #define _DEBUG_PIGMENT_H_
0008 
0009 #include <QDebug>
0010 #include <QLoggingCategory>
0011 #include <kritapigment_export.h>
0012 
0013 extern const KRITAPIGMENT_EXPORT QLoggingCategory &PIGMENT_log();
0014 
0015 #define dbgPigment qCDebug(PIGMENT_log)
0016 #define dbgPigmentCCS dbgPigment
0017 #define dbgPigmentCSRegistry dbgPigment
0018 #define dbgPigmentCS dbgPigment
0019 
0020 #define warnPigment qCWarning(PIGMENT_log)
0021 #define errorPigment qCCritical(PIGMENT_log)
0022 
0023 #endif