EasyManua.ls Logo

Espressif ESP32-S2 - Page 1021

Espressif ESP32-S2
1695 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 2. API Reference
ESP_EARLY_LOGW(tag, format, ...)
macro to output logs in startup code at ESP_LOG_WARN level.
See ESP_EARLY_LOGE,ESP_LOGE, printf
ESP_EARLY_LOGI(tag, format, ...)
macro to output logs in startup code at ESP_LOG_INFO level.
See ESP_EARLY_LOGE,ESP_LOGE, printf
ESP_EARLY_LOGD(tag, format, ...)
macro to output logs in startup code at ESP_LOG_DEBUG level.
See ESP_EARLY_LOGE,ESP_LOGE, printf
ESP_EARLY_LOGV(tag, format, ...)
macro to output logs in startup code at ESP_LOG_VERBOSE level.
See ESP_EARLY_LOGE,ESP_LOGE, printf
_ESP_LOG_EARLY_ENABLED(log_level)
ESP_LOG_EARLY_IMPL(tag, format, log_level, log_tag_letter, ...)
ESP_LOGE(tag, format, ...)
ESP_LOGW(tag, format, ...)
ESP_LOGI(tag, format, ...)
ESP_LOGD(tag, format, ...)
ESP_LOGV(tag, format, ...)
ESP_LOG_LEVEL(level, tag, format, ...)
runtime macro to output logs at a specified level.
See printf
Parameters
tag: tag of the log, which can be used to change the log level by esp_log_level_set at
runtime.
level: level of the output log.
format: format of the output log. see printf
...: variables to be replaced into the log. see printf
ESP_LOG_LEVEL_LOCAL(level, tag, format, ...)
runtime macro to output logs at a specified level. Also check the level with LOG_LOCAL_LEVEL.
See printf, ESP_LOG_LEVEL
ESP_DRAM_LOGE(tag, format, ...)
Macro to output logs when the cache is disabled. log at ESP_LOG_ERROR level.
Similar to
Usage: ESP_DRAM_LOGE(DRAM_STR("my_tag"), "format", orESP_DRAM_LOGE(TAG,
format, )`, where TAG is a char* that points to a str in the DRAM.
Note Unlike normal logging macros, its possible to use this macro when interrupts are disabled or inside an
ISR.
See ESP_EARLY_LOGE, the log level cannot be changed per-tag, however esp_log_level_set(*, level)
will set the default level which controls these log lines also.
Note Placing log strings in DRAM reduces available DRAM, so only use when absolutely essential.
See esp_rom_printf,ESP_LOGE
ESP_DRAM_LOGW(tag, format, ...)
macro to output logs when the cache is disabled at ESP_LOG_WARN level.
See ESP_DRAM_LOGW,ESP_LOGW, esp_rom_printf
Espressif Systems 1010
Submit Document Feedback
Release v4.4

Table of Contents