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_MINIMAL && LOG)

(Includes any dependencies from ifs and menus.)

Defaults

  • y

  • y

Symbols that select this symbol

Kconfig definitions

At <Zephyr>/boards/posix/native_posix/Kconfig.defconfig:48

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:18

Menu path: (Top)

config LOG_IMMEDIATE
    bool
    default y
    depends on LOG && BOARD_NATIVE_POSIX

At <Zephyr>/boards/posix/nrf52_bsim/Kconfig.defconfig:29

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:18

Menu path: (Top)

config LOG_IMMEDIATE
    bool
    default y
    depends on LOG && BOARD_NRF52_BSIM

At <Zephyr>/subsys/logging/Kconfig:120

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:31

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

config LOG_IMMEDIATE
    bool "Enable synchronous processing"
    depends on !LOG_MINIMAL && 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 ifs and menus.)