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 imply this symbol

Kconfig definition

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

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

Menu path: (Top) → Sub Systems and OS Services → 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.)