mirror of
https://github.com/esphome/esphome.git
synced 2026-05-26 03:07:04 +08:00
[log] Detect early log calls before logger init and optimize hot path (#14538)
This commit is contained in:
@@ -78,6 +78,7 @@ def create_test_config(config_name: str, includes: list[str]) -> dict:
|
||||
"build_flags": [
|
||||
"-Og", # optimize for debug
|
||||
"-DUSE_TIME_TIMEZONE", # enable timezone code paths for testing
|
||||
"-DESPHOME_DEBUG", # enable debug assertions
|
||||
],
|
||||
"debug_build_flags": [ # only for debug builds
|
||||
"-g3", # max debug info
|
||||
|
||||
Reference in New Issue
Block a user