[logger] Fix unit test and benchmark Logger constructor calls (#15085)

This commit is contained in:
J. Nick Koston
2026-03-22 10:50:58 -10:00
committed by GitHub
parent daafa8faa3
commit 593dbc9e67
2 changed files with 2 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ void setup() {
// Log functions call global_logger->log_vprintf_() without a null check,
// so we must set up a Logger before any test that triggers logging.
static esphome::logger::Logger test_logger(0);
static esphome::logger::Logger test_logger(0, 64);
test_logger.set_log_level(ESPHOME_LOG_LEVEL);
test_logger.pre_setup();