1# Copyright (c) 2016 Intel Corporation
2# SPDX-License-Identifier: Apache-2.0
3
4menu "Logging"
5
6config LOG
7	bool "Logging"
8	select PRINTK if USERSPACE
9	help
10	  Global switch for the logger, when turned off log calls will not be
11	  compiled in.
12
13if LOG
14
15config LOG_CORE_INIT_PRIORITY
16	int "Log Core Initialization Priority"
17	range 0 99
18	default 0
19
20rsource "Kconfig.mode"
21
22rsource "Kconfig.filtering"
23
24rsource "Kconfig.processing"
25
26if !LOG_MODE_MINIMAL
27
28rsource "Kconfig.formatting"
29
30if !LOG_FRONTEND_ONLY
31
32rsource "backends/Kconfig"
33
34endif # !LOG_FRONTEND_ONLY
35
36endif # !LOG_MODE_MINIMAL
37
38if LOG_FRONTEND
39
40rsource "Kconfig.frontends"
41
42endif #LOG_FRONTEND
43
44if LOG_MULTIDOMAIN
45
46rsource "Kconfig.links"
47
48endif
49
50rsource "Kconfig.misc"
51
52endif # LOG
53
54config LOG_OUTPUT
55	bool "Formatter helper"
56	help
57	  Module which provides formatting of log messages to a human-readable
58	  strings.
59
60endmenu
61