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_MODE_IMMEDIATE

Synchronous

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

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

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

config LOG_MODE_IMMEDIATE
    bool "Synchronous"
    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.)