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

CONFIG_OPENTHREAD_LOG_PREPEND_LEVEL_ENABLE

Enable prepending the log level to all OpenThread log messages

Type: bool

Help

When enabled the OpenThread logs will be prepended with the appropriate
log level prefix i.e. [CRIT], [WARN], [NOTE], [INFO], [DEBG].

Direct dependencies

NET_L2_OPENTHREAD && NETWORKING

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At subsys/net/l2/openthread/Kconfig:284

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:39subsys/net/Kconfig:85subsys/net/l2/Kconfig:77

Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Link layer options → OpenThread L2

config OPENTHREAD_LOG_PREPEND_LEVEL_ENABLE
    bool "Enable prepending the log level to all OpenThread log messages"
    depends on NET_L2_OPENTHREAD && NETWORKING
    help
      When enabled the OpenThread logs will be prepended with the appropriate
      log level prefix i.e. [CRIT], [WARN], [NOTE], [INFO], [DEBG].

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