CONFIG_LOG2_MODE_IMMEDIATE

Synchronous v2

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

<choice LOG_MODE: Mode>

(Includes any dependencies from ifs and menus.)

Symbols selected by this symbol

Kconfig definition

At <Zephyr>/subsys/logging/Kconfig.mode:22

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:44<Zephyr>/subsys/Kconfig:31<Zephyr>/subsys/logging/Kconfig:13

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

config LOG2_MODE_IMMEDIATE
    bool "Synchronous v2"
    select LOG2
    select MPSC_PBUF
    depends on <choice LOG_MODE>
    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.)