CONFIG_LOG_MINIMAL

Enable minimal-footprint logging

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

LOG

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Symbols implied by this symbol

Symbols that select this symbol

Kconfig definition

At subsys/logging/Kconfig:13

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

Menu path: (Top) → Logging

config LOG_MINIMAL
    bool "Enable minimal-footprint logging"
    imply PRINTK
    depends on LOG
    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.)