From 90e67d72a589dab29dcf5128ac6890aaf1773f71 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 18 Jan 2026 21:11:36 -1000 Subject: [PATCH] fix --- esphome/components/logger/logger.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/logger/logger.h b/esphome/components/logger/logger.h index 3e8538c2ae..ddfb77e9a8 100644 --- a/esphome/components/logger/logger.h +++ b/esphome/components/logger/logger.h @@ -234,6 +234,7 @@ class Logger : public Component { #endif protected: + void write_msg_(const char *msg, size_t len); // RAII guard for recursion flags - sets flag on construction, clears on destruction class RecursionGuard { public: @@ -260,7 +261,6 @@ class Logger : public Component { #endif #endif void process_messages_(); - void write_msg_(const char *msg, size_t len); // Format a log message with printf-style arguments and write it to a buffer with header, footer, and null terminator // It's the caller's responsibility to initialize buffer_at (typically to 0)