ESP32-P4 OBC Firmware
ESP-IDF firmware for Plant-B CubeSat OBC
 
Loading...
Searching...
No Matches
pal_log_esp.h File Reference
#include "esp_log.h"

Go to the source code of this file.

Macros

#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)
 

Variables

static const esp_log_level_t _pal_level_map []
 

Macro Definition Documentation

◆ PAL_LOG_BUFFER_HEX

#define PAL_LOG_BUFFER_HEX ( tag,
buf,
len,
level )
Value:
ESP_LOG_BUFFER_HEX_LEVEL(tag, buf, len, _pal_level_map[level])
static const esp_log_level_t _pal_level_map[]
Definition pal_log_esp.h:3

◆ PAL_LOG_BUFFER_HEXDUMP

#define PAL_LOG_BUFFER_HEXDUMP ( tag,
buf,
len,
level )
Value:
ESP_LOG_BUFFER_HEXDUMP(tag, buf, len, _pal_level_map[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__)

Variable Documentation

◆ _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
}