Move to kernel style SPDX license identifiers
[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
12#ifndef __BT_IN_BABELTRACE_H
13# error "Please include <babeltrace2/babeltrace.h> instead."
14#endif
15
16/*
17 * This is NOT part of the API.
18 *
19 * These macros are used internally in preprocessor conditions to define
20 * logging macros.
21 */
22
23#ifndef __BT_LOGGING_LEVEL_TRACE
24# define __BT_LOGGING_LEVEL_TRACE 1
25#endif
26
27#ifndef __BT_LOGGING_LEVEL_DEBUG
28# define __BT_LOGGING_LEVEL_DEBUG 2
29#endif
30
31#ifndef __BT_LOGGING_LEVEL_INFO
32# define __BT_LOGGING_LEVEL_INFO 3
33#endif
34
35#ifndef __BT_LOGGING_LEVEL_WARNING
36# define __BT_LOGGING_LEVEL_WARNING 4
37#endif
38
39#ifndef __BT_LOGGING_LEVEL_ERROR
40# define __BT_LOGGING_LEVEL_ERROR 5
41#endif
42
43#ifndef __BT_LOGGING_LEVEL_FATAL
44# define __BT_LOGGING_LEVEL_FATAL 6
45#endif
46
47#ifndef __BT_LOGGING_LEVEL_NONE
48# define __BT_LOGGING_LEVEL_NONE 0xff
49#endif
This page took 0.03104 seconds and 4 git commands to generate.