:orphan: .. title:: BT_BAS_LOG_LEVEL .. option:: CONFIG_BT_BAS_LOG_LEVEL *Battery service log level* Type: ``int`` Help ==== .. code-block:: none Sets log level for the Battery service. Levels are: 0 OFF, do not write 1 ERROR, only write LOG_ERR 2 WARNING, write LOG_WRN in addition to previous level 3 INFO, write LOG_INF in addition to previous levels 4 DEBUG, write LOG_DBG in addition to previous levels Direct dependencies =================== \ :option:`LOG ` && \ :option:`BT_BAS ` && \ :option:`BT_CONN ` && \ :option:`BT_HCI ` && \ :option:`BT ` *(Includes any dependencies from ifs and menus.)* Default ======= - 0 Kconfig definition ================== At ``/bluetooth/services/Kconfig.bas:10`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:34`` → ``/Kconfig:9`` → ``/bluetooth/Kconfig:175`` → ``/bluetooth/services/Kconfig:11`` Menu path: (Top) → Sub Systems and OS Services → Bluetooth → GATT Services → Enable GATT Battery service .. code-block:: kconfig config BT_BAS_LOG_LEVEL int "Battery service log level" range 0 4 default 0 depends on LOG && BT_BAS && BT_CONN && BT_HCI && BT help Sets log level for the Battery service. Levels are: 0 OFF, do not write 1 ERROR, only write LOG_ERR 2 WARNING, write LOG_WRN in addition to previous level 3 INFO, write LOG_INF in addition to previous levels 4 DEBUG, write LOG_DBG in addition to previous levels *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*