forked from thesofproject/sof
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Kconfig.zephyr-log
54 lines (43 loc) · 950 Bytes
/
Kconfig.zephyr-log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# SPDX-License-Identifier: BSD-3-Clause
menu "Logging"
config ZEPHYR_LOG
bool "Enable Logging via Zephyr"
default n
help
Select for Zephyr logging support, and logging
via SOF will be disabled. If not selected, SOF
logging will be used.
choice "SOF_LOG_LEVEL_CHOICE"
prompt "Max compiled-in log level for SOF"
default SOF_LOG_LEVEL_INF
depends on LOG
config SOF_LOG_LEVEL_OFF
bool "Off"
help
Set log level to off
config SOF_LOG_LEVEL_ERR
bool "Error"
help
Set log level to error
config SOF_LOG_LEVEL_WRN
bool "Warning"
help
Set log level to warning
config SOF_LOG_LEVEL_INF
bool "Info"
help
Set log level to info
config SOF_LOG_LEVEL_DBG
bool "Debug"
help
Set log level to debug
endchoice
config SOF_LOG_LEVEL
int
depends on LOG
default 0 if SOF_LOG_LEVEL_OFF
default 1 if SOF_LOG_LEVEL_ERR
default 2 if SOF_LOG_LEVEL_WRN
default 3 if SOF_LOG_LEVEL_INF
default 4 if SOF_LOG_LEVEL_DBG
endmenu