include: add IWYU pragmas in private header files
[babeltrace.git] / include / babeltrace2 / logging-defs.h
CommitLineData
9103e903 1/*
0235b0db
MJ
2 * SPDX-License-Identifier: MIT
3 *
4 * Copyright (C) 2010-2019 EfficiOS Inc. and Linux Foundation
9103e903
SM
5 */
6
7/*
0235b0db
MJ
8 * No include guards here: it is safe to include this file multiple
9 * times.
9103e903
SM
10 */
11
f38da6ca
SM
12/* IWYU pragma: private, include <babeltrace2/babeltrace.h> */
13
9103e903
SM
14#ifndef __BT_IN_BABELTRACE_H
15# error "Please include <babeltrace2/babeltrace.h> instead."
16#endif
17
18/*
19 * This is NOT part of the API.
20 *
21 * These macros are used internally in preprocessor conditions to define
22 * logging macros.
23 */
24
25#ifndef __BT_LOGGING_LEVEL_TRACE
26# define __BT_LOGGING_LEVEL_TRACE 1
27#endif
28
29#ifndef __BT_LOGGING_LEVEL_DEBUG
30# define __BT_LOGGING_LEVEL_DEBUG 2
31#endif
32
33#ifndef __BT_LOGGING_LEVEL_INFO
34# define __BT_LOGGING_LEVEL_INFO 3
35#endif
36
37#ifndef __BT_LOGGING_LEVEL_WARNING
38# define __BT_LOGGING_LEVEL_WARNING 4
39#endif
40
41#ifndef __BT_LOGGING_LEVEL_ERROR
42# define __BT_LOGGING_LEVEL_ERROR 5
43#endif
44
45#ifndef __BT_LOGGING_LEVEL_FATAL
46# define __BT_LOGGING_LEVEL_FATAL 6
47#endif
48
49#ifndef __BT_LOGGING_LEVEL_NONE
50# define __BT_LOGGING_LEVEL_NONE 0xff
51#endif
This page took 0.042919 seconds and 4 git commands to generate.