Krita Source Code Documentation
Loading...
Searching...
No Matches
DebugPigment.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2015 Boudewijn Rempt <boud@valdyas.org>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6#ifndef _DEBUG_PIGMENT_H_
7#define _DEBUG_PIGMENT_H_
8
9#include <QDebug>
10#include <QLoggingCategory>
11#include <kritapigment_export.h>
12
13extern const KRITAPIGMENT_EXPORT QLoggingCategory &PIGMENT_log();
14
15#define dbgPigment qCDebug(PIGMENT_log)
16#define dbgPigmentCCS dbgPigment
17#define dbgPigmentCSRegistry dbgPigment
18#define dbgPigmentCS dbgPigment
19
20#define warnPigment qCWarning(PIGMENT_log)
21#define errorPigment qCCritical(PIGMENT_log)
22
23#endif
const KRITAPIGMENT_EXPORT QLoggingCategory & PIGMENT_log()