This is the documentation for the latest (main) 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_MODE_MINIMAL

Minimal-footprint

Type: bool

Help

Enable minimal logging implementation. This has very little footprint
overhead on top of the printk() implementation for standard
logging macros. Hexdump macros are also supported, with a small
amount of code pulled in if used. Build time filtering is supported,
but not runtime filtering. There are no timestamps, prefixes,
colors, or asynchronous logging, and all messages are simply
sent to printk().

Direct dependencies

<choice LOG_MODE: Mode>

(Includes any dependencies from ifs and menus.)

Symbols implied by this symbol

Kconfig definition

At subsys/logging/Kconfig.mode:45

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:31subsys/logging/Kconfig:13

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

config LOG_MODE_MINIMAL
    bool "Minimal-footprint"
    imply PRINTK
    depends on <choice LOG_MODE>
    help
      Enable minimal logging implementation. This has very little footprint
      overhead on top of the printk() implementation for standard
      logging macros. Hexdump macros are also supported, with a small
      amount of code pulled in if used. Build time filtering is supported,
      but not runtime filtering. There are no timestamps, prefixes,
      colors, or asynchronous logging, and all messages are simply
      sent to printk().

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