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

Logging

Type: bool

Help

Global switch for the logger, when turned off log calls will not be compiled in.

Default

  • y

Symbols selected by this symbol

Kconfig definitions

At soc/xtensa/intel_apl_adsp/Kconfig.defconfig:36

Included via Kconfig:8Kconfig.zephyr:25doc/_build/Kconfig/Kconfig.soc.defconfig:1

Menu path: (Top)

config LOG
    bool
    default y
    depends on SOC_INTEL_APL_ADSP

At subsys/logging/Kconfig:4

Included via Kconfig:8Kconfig.zephyr:34subsys/Kconfig:28

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

menuconfig LOG
    bool "Logging"
    select PRINTK if USERSPACE
    help
      Global switch for the logger, when turned off log calls will not be
      compiled in.

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