1// Copyright (C) 2022 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4#ifndef QTGRPCGLOBAL_P_H
5#define QTGRPCGLOBAL_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 <QtGrpc/qtgrpcglobal.h>
19
20#include <QtCore/qloggingcategory.h>
21#include <QtCore/private/qglobal_p.h>
22
23QT_BEGIN_NAMESPACE
24Q_DECLARE_LOGGING_CATEGORY(Grpc)
25QT_END_NAMESPACE
26
27#define qGrpcDebug(...) qCDebug(Grpc, __VA_ARGS__)
28#define qGrpcInfo(...) qCInfo(Grpc, __VA_ARGS__)
29#define qGrpcWarning(...) qCWarning(Grpc, __VA_ARGS__)
30#define qGrpcCritical(...) qCCritical(Grpc, __VA_ARGS__)
31
32#endif // QTGRPCGLOBAL_P_H
33

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