-
CONFIG_LOG2_FMT_SECTION
¶
Keep log strings in dedicated section
Type: bool
Help¶
When enabled, logs are kept in dedicated memory section. It allows
removing strings from final binary and should be used for dictionary
logging.
Defaults¶
No defaults. Implicitly defaults to n
.
Kconfig definition¶
At <Zephyr>/subsys/logging/Kconfig.misc:49
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:34
→ <Zephyr>/subsys/Kconfig:31
→ <Zephyr>/subsys/logging/Kconfig:27
Menu path: (Top) → Sub Systems and OS Services → Logging → Misc
config LOG2_FMT_SECTION
bool "Keep log strings in dedicated section"
depends on LOG
help
When enabled, logs are kept in dedicated memory section. It allows
removing strings from final binary and should be used for dictionary
logging.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)