forked from br101/libdeca
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlog.h
More file actions
17 lines (13 loc) · 792 Bytes
/
Copy pathlog.h
File metadata and controls
17 lines (13 loc) · 792 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once
#include "esp_log.h"
// KEIN #define LOG_TAG hier! Die .c Dateien definieren LOG_TAG selbst.
#define LOG_INF(fmt, ...) ESP_LOGI(LOG_TAG, fmt, ##__VA_ARGS__)
#define LOG_ERR(fmt, ...) ESP_LOGE(LOG_TAG, fmt, ##__VA_ARGS__)
#define LOG_WRN(fmt, ...) ESP_LOGW(LOG_TAG, fmt, ##__VA_ARGS__)
#define LOG_DBG(fmt, ...) ESP_LOGD(LOG_TAG, fmt, ##__VA_ARGS__)
#define LOG_WARN(fmt, ...) ESP_LOGW(LOG_TAG, fmt, ##__VA_ARGS__)
#define LOG_INF_IRQ(fmt, ...) ESP_EARLY_LOGI(LOG_TAG, fmt, ##__VA_ARGS__)
#define LOG_ERR_IRQ(fmt, ...) ESP_EARLY_LOGE(LOG_TAG, fmt, ##__VA_ARGS__)
#define LOG_WRN_IRQ(fmt, ...) ESP_EARLY_LOGW(LOG_TAG, fmt, ##__VA_ARGS__)
#define DBG_UWB(fmt, ...) ESP_LOGD(LOG_TAG, fmt, ##__VA_ARGS__)
#define DBG_UWB_IRQ(fmt, ...) // leer im IRQ-Kontext