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

!NEWLIB_LIBC && !ARCH_POSIX && LOG

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At subsys/logging/Kconfig:113

Included via Kconfig:10Kconfig.zephyr:44subsys/Kconfig:20

Menu path: (Top) → Logging

config LOG_ENABLE_FANCY_OUTPUT_FORMATTING
    bool "Format strings with minimal libc _prf() instead of _vprintk()"
    depends on !NEWLIB_LIBC && !ARCH_POSIX && 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.)