This is the documentation for the latest (main) 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_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_FRONTEND && !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:22

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:22

Menu path: (Top)

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

At subsys/logging/Kconfig.backends:208

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:31subsys/logging/Kconfig:23

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

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

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