CONFIG_SYS_LOG

Enable Logging

Type: bool

Help

Global switch for logging, when turned off log calls will not be executed.

Direct dependencies

PRINTK

(Includes any dependencies from if’s and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At subsys/logging/Kconfig:8

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

Menu path: (top menu) → Logging Options

config SYS_LOG
    bool
    prompt "Enable Logging" if PRINTK
    depends on PRINTK
    help
      Global switch for logging, when turned off log calls will not be
      executed.

(Definitions include propagated dependencies, including from if’s and menus.)