This is the documentation for the latest (master) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.
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 subsys/logging/Kconfig:140

Included via Kconfig:8Kconfig.zephyr:34subsys/Kconfig:18

Menu path: (Top) → 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.)