CONFIG_LOG_IMMEDIATE

Enable synchronous processing

Type: bool

Help

When enabled log is processed in the context of the call. It impacts performance of the system since time consuming operations are performed in the context of the log entry (e.g. high priority interrupt).Logger backends must support exclusive access to work flawlessly in that mode because one log operation can be interrupted by another one in the higher priority context.

Direct dependencies

(LOG && BOARD_NATIVE_POSIX) || (LOG && BOARD_NRF52_BSIM) || LOG

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

Defaults

Kconfig definitions

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

Included via Kconfig:10Kconfig.zephyr:26

Menu path: (Top)

config LOG_IMMEDIATE
    bool
    default y
    depends on LOG && BOARD_NATIVE_POSIX

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

Included via Kconfig:10Kconfig.zephyr:26

Menu path: (Top)

config LOG_IMMEDIATE
    bool
    default y
    depends on LOG && BOARD_NRF52_BSIM

At subsys/logging/Kconfig:100

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

Menu path: (Top) → Logging

config LOG_IMMEDIATE
    bool "Enable synchronous processing"
    depends on LOG
    help
      When enabled log is processed in the context of the call. It impacts
      performance of the system since time consuming operations are
      performed in the context of the log entry (e.g. high priority
      interrupt).Logger backends must support exclusive access to work
      flawlessly in that mode because one log operation can be interrupted
      by another one in the higher priority context.

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