Can I use ESP_LOGV for Arduino IDE

ats3788
Posts: 27
Joined: Thu Feb 01, 2018 10:12 am

Can I use ESP_LOGV for Arduino IDE

Postby ats3788 » Thu Jun 28, 2018 2:19 pm

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__)

chegewara
Posts: 2362
Joined: Wed Jun 14, 2017 9:00 pm

Re: Can I use ESP_LOGV for Arduino IDE

Postby chegewara » Thu Jun 28, 2018 2:41 pm

You can:
https://github.com/nkolban/ESP32_BLE_Ar ... master/src

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

ats3788
Posts: 27
Joined: Thu Feb 01, 2018 10:12 am

Re: Can I use ESP_LOGV for Arduino IDE

Postby ats3788 » Fri Jun 29, 2018 1:16 pm

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);

Pibbotley
Posts: 45
Joined: Fri Feb 16, 2018 7:06 pm

Re: Can I use ESP_LOGV for Arduino IDE

Postby Pibbotley » Fri Jun 29, 2018 4:04 pm

In the Arduino IDE tools menu dropdown

ats3788
Posts: 27
Joined: Thu Feb 01, 2018 10:12 am

Re: Can I use ESP_LOGV for Arduino IDE

Postby ats3788 » Sat Jun 30, 2018 8:06 am

Thanks a lot I use vMicro for Arduino so I was confused :D :D

Who is online

Users browsing this forum: No registered users and 82 guests