]> granicus.if.org Git - esp-idf/blob - components/log/Kconfig
heap: test: don’t warn about oversized mallocs
[esp-idf] / components / log / Kconfig
1 menu "Log output"
2
3 choice LOG_DEFAULT_LEVEL
4    bool "Default log verbosity"
5    default LOG_DEFAULT_LEVEL_INFO
6    help
7        Specify how much output to see in logs by default.
8        You can set lower verbosity level at runtime using
9        esp_log_level_set function.
10        
11        Note that this setting limits which log statements
12        are compiled into the program. So setting this to, say,
13        "Warning" would mean that changing log level to "Debug"
14        at runtime will not be possible.
15
16 config LOG_DEFAULT_LEVEL_NONE
17    bool "No output"
18 config LOG_DEFAULT_LEVEL_ERROR
19    bool "Error"
20 config LOG_DEFAULT_LEVEL_WARN
21    bool "Warning"
22 config LOG_DEFAULT_LEVEL_INFO
23    bool "Info"
24 config LOG_DEFAULT_LEVEL_DEBUG
25    bool "Debug"
26 config LOG_DEFAULT_LEVEL_VERBOSE
27    bool "Verbose"
28 endchoice
29
30 config LOG_DEFAULT_LEVEL
31     int
32     default 0 if LOG_DEFAULT_LEVEL_NONE
33     default 1 if LOG_DEFAULT_LEVEL_ERROR
34     default 2 if LOG_DEFAULT_LEVEL_WARN
35     default 3 if LOG_DEFAULT_LEVEL_INFO
36     default 4 if LOG_DEFAULT_LEVEL_DEBUG
37     default 5 if LOG_DEFAULT_LEVEL_VERBOSE
38
39 config LOG_COLORS
40    bool "Use ANSI terminal colors in log output"
41    default "y"
42    help
43       Enable ANSI terminal color codes in bootloader output.
44
45       In order to view these, your terminal program must support ANSI color codes.
46
47
48 endmenu