Skip to content

Commit bd7d28e

Browse files
kapi-nojhedberg
authored andcommitted
bluetooth: services: hrs: use template for logging configuration
Use template for logging configuration in Bluetooth HR service. Signed-off-by: Kamil Piszczek <[email protected]>
1 parent dd5a0d1 commit bd7d28e

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

subsys/bluetooth/services/Kconfig.hrs

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,8 @@ config BT_HRS_DEFAULT_PERM_RW_AUTHEN
2727

2828
endchoice
2929

30-
config BT_HRS_LOG_LEVEL
31-
int "Heart Rate service log level"
32-
depends on LOG
33-
range 0 4
34-
default 0
35-
depends on BT_HRS
36-
help
37-
Sets log level for the Heart Rate service.
38-
Levels are:
39-
0 OFF, do not write
40-
1 ERROR, only write LOG_ERR
41-
2 WARNING, write LOG_WRN in addition to previous level
42-
3 INFO, write LOG_INF in addition to previous levels
43-
4 DEBUG, write LOG_DBG in addition to previous levels
30+
module = BT_HRS
31+
module-str = HRS
32+
source "${ZEPHYR_BASE}/subsys/logging/Kconfig.template.log_config"
4433

4534
endif # BT_HRS

0 commit comments

Comments
 (0)