Serial Debug Output for ESP32

Hello Community

Platform ESP32

Is there a way to make Debug output work like
log_i("[HTTP] Payload:\n%s", ss.str().c_str());
log_i("[HTTP] Begin…");
definition in esp32-hal-log.h
How do I set the debug level

I found it build_flags = -DCORE_DEBUG_LEVEL=5

2 Likes