Krita Source Code Documentation
Loading...
Searching...
No Matches
FlakeDebug.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 FLAKE_DEBUG_H_
7#define FLAKE_DEBUG_H_
8
9#include <QDebug>
10#include <QLoggingCategory>
11#include <kritaflake_export.h>
12
13extern const KRITAFLAKE_EXPORT QLoggingCategory &FLAKE_LOG();
14
15#define debugFlake qCDebug(FLAKE_LOG)
16#define warnFlake qCWarning(FLAKE_LOG)
17#define errorFlake qCCritical(FLAKE_LOG)
18
19#endif
const KRITAFLAKE_EXPORT QLoggingCategory & FLAKE_LOG()
Definition FlakeDebug.cpp:9