:orphan: .. title:: OPENTHREAD_L2_LOG_LEVEL .. option:: CONFIG_OPENTHREAD_L2_LOG_LEVEL *(No prompt -- not directly user assignable.)* Type: ``int`` Direct dependencies =================== \ :option:`NET_L2_OPENTHREAD ` && \ :option:`NETWORKING ` *(Includes any dependencies from ifs and menus.)* Defaults ======== - 0 if \ :option:`OPENTHREAD_L2_LOG_LEVEL_OFF ` || !\ :option:`NET_LOG ` - 1 if \ :option:`OPENTHREAD_L2_LOG_LEVEL_ERR ` - 2 if \ :option:`OPENTHREAD_L2_LOG_LEVEL_WRN ` - 3 if \ :option:`OPENTHREAD_L2_LOG_LEVEL_INF ` - 4 if \ :option:`OPENTHREAD_L2_LOG_LEVEL_DBG ` - \ :option:`LOG_DEFAULT_LEVEL ` if \ :option:`OPENTHREAD_L2_LOG_LEVEL_DEFAULT ` Kconfig definition ================== At ``/net/Kconfig.template.log_config.net:48`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:34`` → ``/Kconfig:39`` → ``/net/Kconfig:85`` → ``/net/l2/Kconfig:77`` → ``/net/l2/openthread/Kconfig:123`` Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Link layer options → OpenThread L2 → Logging .. code-block:: kconfig config OPENTHREAD_L2_LOG_LEVEL int default 0 if OPENTHREAD_L2_LOG_LEVEL_OFF || !NET_LOG default 1 if OPENTHREAD_L2_LOG_LEVEL_ERR default 2 if OPENTHREAD_L2_LOG_LEVEL_WRN default 3 if OPENTHREAD_L2_LOG_LEVEL_INF default 4 if OPENTHREAD_L2_LOG_LEVEL_DBG default LOG_DEFAULT_LEVEL if OPENTHREAD_L2_LOG_LEVEL_DEFAULT depends on NET_L2_OPENTHREAD && NETWORKING *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*