Como solucionar ESP32 error: 'ESP_LOGE' was not declared in this scope

Problema:

Al trying compile tu ESP32 project, ves un mensaje de error como

esp_loge_error.txt
.pio/libdeps/esp32dev/HumanESPHTTP/src/QueryURLParser.cpp:29:9: error: 'ESP_LOGE' was not declared in this scope
         ESP_LOGE("Query URL parser", "parsing URL");
         ^~~~~~~~

Solucion

Al top del file donde el error occurs (QueryURLParser.cpp en este example), add la siguiente line:

include_esp_log.h
#include <esp_log.h>

Echa un vistazo a artículos similares por categoría: C/C++, ESP8266/ESP32