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

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 subsys/logging/Kconfig.mode:21

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

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.)