The latest development version of this page may be more current than this released 2.2.1 version.
CONFIG_LOG_BACKEND_NATIVE_POSIX

Enable native backend

Type: bool

Help

Enable backend in native_posix

Direct dependencies

(LOG && BOARD_NATIVE_POSIX) || (LOG && BOARD_NRF52_BSIM) || (ARCH_POSIX && !LOG_MINIMAL && LOG)

(Includes any dependencies from ifs and menus.)

Defaults

Kconfig definitions

At boards/posix/native_posix/Kconfig.defconfig:43

Included via Kconfig:8Kconfig.zephyr:24

Menu path: (Top)

config LOG_BACKEND_NATIVE_POSIX
    bool
    default y if !SERIAL
    depends on LOG && BOARD_NATIVE_POSIX

At boards/posix/nrf52_bsim/Kconfig.defconfig:24

Included via Kconfig:8Kconfig.zephyr:24

Menu path: (Top)

config LOG_BACKEND_NATIVE_POSIX
    bool
    default y if !SERIAL
    depends on LOG && BOARD_NRF52_BSIM

At subsys/logging/Kconfig:427

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

Menu path: (Top) → Logging

config LOG_BACKEND_NATIVE_POSIX
    bool "Enable native backend"
    depends on ARCH_POSIX && !LOG_MINIMAL && LOG
    help
      Enable backend in native_posix

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