1// Copyright (C) 2022 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4#ifndef QTGRPCLOGGING_P_H
5#define QTGRPCLOGGING_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtCore/qloggingcategory.h>
19
20QT_BEGIN_NAMESPACE
21Q_DECLARE_LOGGING_CATEGORY(Grpc)
22QT_END_NAMESPACE
23
24#define qGrpcDebug(...) qCDebug(Grpc, __VA_ARGS__)
25#define qGrpcInfo(...) qCInfo(Grpc, __VA_ARGS__)
26#define qGrpcWarning(...) qCWarning(Grpc, __VA_ARGS__)
27#define qGrpcCritical(...) qCCritical(Grpc, __VA_ARGS__)
28
29#endif // QTGRPCLOGGING_P_H
30

Provided by KDAB

Privacy Policy
Learn Advanced QML with KDAB
Find out more

source code of qtgrpc/src/grpc/qtgrpclogging_p.h