CONFIG_LOG_ENABLE_FANCY_OUTPUT_FORMATTING

Format strings with minimal libc _prf() instead of _vprintk()

Type: bool

Help

Selecting this option will choose more robust _prf() function from minimal libc for handling format strings instead of the _vprintk() function. Choosing this option adds around ~3K flash and ~250 bytes on stack.

Direct dependencies

MINIMAL_LIBC && !LOG_MINIMAL && LOG

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At <Zephyr>/subsys/logging/Kconfig:140

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:28

Menu path: (Top) → Sub Systems and OS Services → Logging

config LOG_ENABLE_FANCY_OUTPUT_FORMATTING
    bool "Format strings with minimal libc _prf() instead of _vprintk()"
    depends on MINIMAL_LIBC && !LOG_MINIMAL && LOG
    help
      Selecting this option will choose more robust _prf() function from
      minimal libc for handling format strings instead of the _vprintk()
      function. Choosing this option adds around ~3K flash and ~250 bytes on
      stack.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)