|
| #define | PAL_LOGI(tag, fmt, ...) |
| |
| #define | PAL_LOGE(tag, fmt, ...) |
| |
| #define | PAL_LOGW(tag, fmt, ...) |
| |
| #define | PAL_LOGD(tag, fmt, ...) |
| |
| #define | PAL_LOGV(tag, fmt, ...) |
| |
| #define | PAL_LOG_BUFFER_HEX(tag, buf, len, level) |
| |
| #define | PAL_LOG_BUFFER_HEXDUMP(tag, buf, len, level) |
| |
- Warning
- This file is included automatically by
pal_log.h when ESP_PLATFORM is defined. Do not include it directly.
Maps every PAL logging macro to its ESP-IDF ESP_LOGx counterpart and provides a pal_log_level_t to esp_log_level_t mapping table used by the hex dump macros.
◆ PAL_LOG_BUFFER_HEX
| #define PAL_LOG_BUFFER_HEX |
( |
| tag, |
|
|
| buf, |
|
|
| len, |
|
|
| level ) |
Value:
static const esp_log_level_t _pal_level_map[]
Mapping table from pal_log_level_t to esp_log_level_t.
Definition pal_log_esp.h:45
◆ PAL_LOG_BUFFER_HEXDUMP
| #define PAL_LOG_BUFFER_HEXDUMP |
( |
| tag, |
|
|
| buf, |
|
|
| len, |
|
|
| level ) |
◆ PAL_LOGD
| #define PAL_LOGD |
( |
| tag, |
|
|
| fmt, |
|
|
| ... ) |
Value:ESP_LOGD(tag, fmt, ##__VA_ARGS__)
◆ PAL_LOGE
| #define PAL_LOGE |
( |
| tag, |
|
|
| fmt, |
|
|
| ... ) |
Value:ESP_LOGE(tag, fmt, ##__VA_ARGS__)
◆ PAL_LOGI
| #define PAL_LOGI |
( |
| tag, |
|
|
| fmt, |
|
|
| ... ) |
Value:ESP_LOGI(tag, fmt, ##__VA_ARGS__)
◆ PAL_LOGV
| #define PAL_LOGV |
( |
| tag, |
|
|
| fmt, |
|
|
| ... ) |
Value:ESP_LOGV(tag, fmt, ##__VA_ARGS__)
◆ PAL_LOGW
| #define PAL_LOGW |
( |
| tag, |
|
|
| fmt, |
|
|
| ... ) |
Value:ESP_LOGW(tag, fmt, ##__VA_ARGS__)
◆ _pal_level_map
| const esp_log_level_t _pal_level_map[] |
|
static |
Initial value:= {
ESP_LOG_ERROR,
ESP_LOG_WARN,
ESP_LOG_INFO,
ESP_LOG_DEBUG,
ESP_LOG_VERBOSE
}
Mapping table from pal_log_level_t to esp_log_level_t.
Indexed by pal_log_level_t values, used internally by PAL_LOG_BUFFER_HEX and PAL_LOG_BUFFER_HEXDUMP.