Add comment explaining ESP_LOGE over ESP_LOGCONFIG

This commit is contained in:
J. Nick Koston
2026-03-10 13:34:37 -10:00
parent 3359f541b1
commit c017bfc35b
@@ -69,6 +69,11 @@ void crash_handler_read_and_clear() {
}
}
// Intentionally uses separate ESP_LOGE calls per line instead of combining into
// one multi-line log message. This ensures each address appears as its own line
// on the serial console (miniterm), making it possible to see partial output if
// the device crashes again during boot, and allowing the CLI's process_stacktrace
// to match and decode each address individually.
void crash_handler_log() {
if (!s_crash_data.valid)
return;