3

I can't get the logging to work on the ESP32. Here is my example:

#define LOG_LOCAL_LEVEL ESP_LOG_VERBOSE
#include <esp_log.h>

void setup() { Serial.begin(115200); ESP_LOGE("Test", "This is a test!"); delay(1000); }

void loop() { ESP_LOGE("Test", "This is a repesting test!"); delay(1000); Serial.println("Serial.print"); delay(1000); }

It only prints Serial.print every two seconds, but not the log messages.

Mr. Clear
  • 161
  • 4

1 Answers1

3

Thanks to hcheung! I had to set the Core Debug Level in the Tools menu.

Mr. Clear
  • 161
  • 4