Albert
Loading...
Searching...
No Matches
logging.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2025 Manuel Schneider
2// SPDX-License-Identifier: MIT
3
4#pragma once
5#include <QLoggingCategory>
6
7Q_DECLARE_LOGGING_CATEGORY(AlbertLoggingCategory)
8
9
12#define ALBERT_LOGGING_CATEGORY(name) Q_LOGGING_CATEGORY(AlbertLoggingCategory, "albert." name)
13
17#define DEBG qCDebug(AlbertLoggingCategory,).noquote()
18
22#define INFO qCInfo(AlbertLoggingCategory,).noquote()
23
27#define WARN qCWarning(AlbertLoggingCategory,).noquote()
28
32#define CRIT qCCritical(AlbertLoggingCategory,).noquote()