Loading...
Searching...
No Matches
5#if CONFIG_BT_BLEGC_LOG_LEVEL >= 5
6#define BLEGC_LOGT(tag, format, ...) CONFIG_BT_BLEGC_LOGGER("T %s: " format "\n", ##__VA_ARGS__)
8#define BLEGC_LOGT(tag, format, ...) (void)0
11#if CONFIG_BT_BLEGC_LOG_LEVEL >= 4
12#define BLEGC_LOGD(tag, format, ...) CONFIG_BT_BLEGC_LOGGER("D %s: " format "\n", tag, ##__VA_ARGS__)
14#define BLEGC_LOGD(tag, format, ...) (void)0
17#if CONFIG_BT_BLEGC_LOG_LEVEL >= 3
18#define BLEGC_LOGI(tag, format, ...) CONFIG_BT_BLEGC_LOGGER("I %s: " format "\n", tag, ##__VA_ARGS__)
20#define BLEGC_LOGI(tag, format, ...) (void)0
23#if CONFIG_BT_BLEGC_LOG_LEVEL >= 2
24#define BLEGC_LOGW(tag, format, ...) CONFIG_BT_BLEGC_LOGGER("W %s: " format "\n", tag, ##__VA_ARGS__)
26#define BLEGC_LOGW(tag, format, ...) (void)0
29#if CONFIG_BT_BLEGC_LOG_LEVEL >= 1
30#define BLEGC_LOGE(tag, format, ...) CONFIG_BT_BLEGC_LOGGER("E %s: " format "\n", tag, ##__VA_ARGS__)
32#define BLEGC_LOGE(tag, format, ...) (void)0