Krita Source Code Documentation
Loading...
Searching...
No Matches
ResourceDebug.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2020 Boudewijn Rempt <boud@valdyas.org>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6#ifndef RESOURCE_DEBUG_H_
7#define RESOURCE_DEBUG_H_
8
9#include <QDebug>
10#include <QLoggingCategory>
11#include <kritaresources_export.h>
12
13extern const KRITARESOURCES_EXPORT QLoggingCategory &RESOURCE_LOG();
14
15#define debugResource qCDebug(RESOURCE_LOG)
16#define warnResource qCWarning(RESOURCE_LOG)
17#define errorResource qCCritical(RESOURCE_LOG)
18
19#endif
const KRITARESOURCES_EXPORT QLoggingCategory & RESOURCE_LOG()