Page 1 of 1

Can I use ESP_LOGV for Arduino IDE

Posted: Thu Jun 28, 2018 2:19 pm
by ats3788
Hello
I try to use the following Logs with the arduino IDE, it compiles fine , but with no output.
#define ESP_LOGE(tag, ...) log_e(__VA_ARGS__)
#define ESP_LOGW(tag, ...) log_w(__VA_ARGS__)
#define ESP_LOGI(tag, ...) log_i(__VA_ARGS__)
#define ESP_LOGD(tag, ...) log_d(__VA_ARGS__)
#define ESP_LOGV(tag, ...) log_v(__VA_ARGS__)

Re: Can I use ESP_LOGV for Arduino IDE

Posted: Thu Jun 28, 2018 2:41 pm
by chegewara
You can:
https://github.com/nkolban/ESP32_BLE_Ar ... master/src

Did you set Tools->log level to required value?

Re: Can I use ESP_LOGV for Arduino IDE

Posted: Fri Jun 29, 2018 1:16 pm
by ats3788
What do you mean with "Tools->log level"
I did

esp_log_level_set("wifi", ESP_LOG_WARN);
esp_log_level_set("gpio", ESP_LOG_WARN);

Re: Can I use ESP_LOGV for Arduino IDE

Posted: Fri Jun 29, 2018 4:04 pm
by Pibbotley
In the Arduino IDE tools menu dropdown

Re: Can I use ESP_LOGV for Arduino IDE

Posted: Sat Jun 30, 2018 8:06 am
by ats3788
Thanks a lot I use vMicro for Arduino so I was confused :D :D