mirror of
https://github.com/esphome/esphome.git
synced 2026-09-17 18:18:43 +00:00
Add comment explaining ESP_LOGE over ESP_LOGCONFIG
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user