Update esphome/components/logger/__init__.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
J. Nick Koston
2026-01-13 14:12:48 -10:00
committed by GitHub
co-authored by Copilot
parent 1d2fa12911
commit 52574e2fd4
+1 -1
View File
@@ -578,6 +578,6 @@ async def final_step():
if domain_data.get(KEY_LEVEL_LISTENERS, False):
cg.add_define("USE_LOGGER_LEVEL_LISTENERS")
# Set exact count of log listeners - runtime will error if exceeded
# Set exact count of log listeners - runtime will silently drop listeners if exceeded
log_listener_count = domain_data.get(KEY_LOG_LISTENERS, 0)
cg.add_define("ESPHOME_LOG_MAX_LISTENERS", log_listener_count)