Skip to content

Commit a7537f5

Browse files
jori-nordicfabiobaltieri
authored andcommitted
Bluetooth: log: show function names by default
Show function names for all BT_xx logging levels when BT_DEBUG_LOG is enabled. This makes it easier to find the problematic lines. Signed-off-by: Jonathan Rico <[email protected]>
1 parent afef6e2 commit a7537f5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

subsys/bluetooth/common/Kconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,9 @@ config BT_DEBUG_LOG
300300
bool "Normal printf-style to console"
301301
select BT_DEBUG
302302
select LOG
303+
imply LOG_FUNC_NAME_PREFIX_INF
304+
imply LOG_FUNC_NAME_PREFIX_WRN
305+
imply LOG_FUNC_NAME_PREFIX_ERR
303306
help
304307
This option enables Bluetooth debug going to standard
305308
serial console.

0 commit comments

Comments
 (0)