mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-14 11:06:32 +02:00
driver, http_client, web_socket, tcp_transport: remove __FILE__ from log messages
__FILE__ macro in the error messages adds full paths to the production binarys, remove __FILE__ from the ESP_LOGE. Closes https://github.com/espressif/esp-idf/issues/5637 Merges https://github.com/espressif/esp-idf/pull/5638 * Original commit: espressif/esp-idf@caaf62bdad
This commit is contained in:
@ -42,7 +42,7 @@ static const char *TAG = "WEBSOCKET_CLIENT";
|
||||
#define WEBSOCKET_PINGPONG_TIMEOUT_SEC (120)
|
||||
|
||||
#define ESP_WS_CLIENT_MEM_CHECK(TAG, a, action) if (!(a)) { \
|
||||
ESP_LOGE(TAG,"%s:%d (%s): %s", __FILE__, __LINE__, __FUNCTION__, "Memory exhausted"); \
|
||||
ESP_LOGE(TAG,"%s(%d): %s", __FUNCTION__, __LINE__, "Memory exhausted"); \
|
||||
action; \
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user