KSeExpr 6.0.0.0
Debug.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2020 L. E. Segovia <amy@amyspark.me>
2// SPDX-License-Identifier: GPL-3.0-or-later
3
4/*
5 * @file Debug.h
6 * @author L. E. Segovia, for Google Summer of Code 2020
7 */
8
9#ifndef __SeExpr_Debug_h_
10#define __SeExpr_Debug_h_
11
12#include <QDebug>
13#include <QLoggingCategory>
14
15extern const QLoggingCategory &SEEXPR_UI_log();
16
17#define dbgSeExpr qCDebug(SEEXPR_UI_log)
18#define warnSeExpr qCWarning(SEEXPR_UI_log)
19#define errorSeExpr qCCritical(SEEXPR_UI_log)
20
21#endif
const QLoggingCategory & SEEXPR_UI_log()
Definition Debug.cpp:11