mirror of
https://github.com/esphome/esphome.git
synced 2026-09-17 01:58:39 +00:00
Update esphome/components/logger/__init__.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
co-authored by
Copilot
parent
1d2fa12911
commit
52574e2fd4
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user