mirror of
https://github.com/esphome/esphome.git
synced 2026-02-08 00:31:58 +00:00
[runtime_stats] Fix log output formatting alignment (#13155)
This commit is contained in:
@@ -29,7 +29,7 @@ void RuntimeStatsCollector::record_component_time(Component *component, uint32_t
|
||||
void RuntimeStatsCollector::log_stats_() {
|
||||
ESP_LOGI(TAG,
|
||||
"Component Runtime Statistics\n"
|
||||
"Period stats (last %" PRIu32 "ms):",
|
||||
" Period stats (last %" PRIu32 "ms):",
|
||||
this->log_interval_);
|
||||
|
||||
// First collect stats we want to display
|
||||
@@ -55,7 +55,7 @@ void RuntimeStatsCollector::log_stats_() {
|
||||
}
|
||||
|
||||
// Log total stats since boot
|
||||
ESP_LOGI(TAG, "Total stats (since boot):");
|
||||
ESP_LOGI(TAG, " Total stats (since boot):");
|
||||
|
||||
// Re-sort by total runtime for all-time stats
|
||||
std::sort(stats_to_display.begin(), stats_to_display.end(),
|
||||
|
||||
Reference in New Issue
Block a user