Skip to content

Commit 8fda052

Browse files
rettichschnidifabiobaltieri
authored andcommitted
net: Give name to logging choice
This allows downstream modules to overwrite the default log level choice using Kconfig.defconfig files. For example, this becomes possible: ``` choice LWM2M_LOG_LEVEL_CHOICE default LWM2M_LOG_LEVEL_WRN endchoice ``` In contrast to the configuration method, this then has an effect on all applications stored in the downstream module. Signed-off-by: Reto Schneider <[email protected]>
1 parent a50e0d9 commit 8fda052

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/net/Kconfig.template.log_config.net

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Copyright (c) 2018 Intel Corporation.
55
# SPDX-License-Identifier: Apache-2.0
66

7-
choice
7+
choice "$(module)_LOG_LEVEL_CHOICE"
88
prompt "$(module-str)"
99
default $(module)_LOG_LEVEL_DEFAULT
1010
depends on $(module-dep)

0 commit comments

Comments
 (0)