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.

Direct dependencies

LOG

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At <Zephyr>/subsys/logging/Kconfig.misc:49

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:44<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.)