Wrong logging level for ESP_LOGI [IDFGH-5232]
Posted: Sun May 09, 2021 12:28 pm
Well, it's really minor but I think that ESP_LOGI actually logs with error level
In esp_idf 4.2 (esp_log.h, line 49)
should be
I am in commit c40f2590bf759ff60ef122afa79b4ec04e7633d2 (HEAD -> v4.2, tag: v4.2) of esp_idf
In esp_idf 4.2 (esp_log.h, line 49)
- #define ESP_LOGI( tag, format, ... ) if (LOG_LOCAL_LEVEL >= ESP_LOG_INFO) { esp_log_write(ESP_LOG_INFO, tag, LOG_FORMAT(E, format), esp_log_timestamp(), tag, ##__VA_ARGS__); }
- #define ESP_LOGI( tag, format, ... ) if (LOG_LOCAL_LEVEL >= ESP_LOG_INFO) { esp_log_write(ESP_LOG_INFO, tag, LOG_FORMAT(I, format), esp_log_timestamp(), tag, ##__VA_ARGS__); }