2016-09-14 12:53:33 -04:00
|
|
|
menu "Log output"
|
|
|
|
|
2019-01-25 11:10:53 -05:00
|
|
|
choice LOG_DEFAULT_LEVEL
|
|
|
|
bool "Default log verbosity"
|
|
|
|
default LOG_DEFAULT_LEVEL_INFO
|
|
|
|
help
|
|
|
|
Specify how much output to see in logs by default.
|
|
|
|
You can set lower verbosity level at runtime using
|
|
|
|
esp_log_level_set function.
|
|
|
|
|
|
|
|
Note that this setting limits which log statements
|
|
|
|
are compiled into the program. So setting this to, say,
|
|
|
|
"Warning" would mean that changing log level to "Debug"
|
|
|
|
at runtime will not be possible.
|
|
|
|
|
|
|
|
config LOG_DEFAULT_LEVEL_NONE
|
|
|
|
bool "No output"
|
|
|
|
config LOG_DEFAULT_LEVEL_ERROR
|
|
|
|
bool "Error"
|
|
|
|
config LOG_DEFAULT_LEVEL_WARN
|
|
|
|
bool "Warning"
|
|
|
|
config LOG_DEFAULT_LEVEL_INFO
|
|
|
|
bool "Info"
|
|
|
|
config LOG_DEFAULT_LEVEL_DEBUG
|
|
|
|
bool "Debug"
|
|
|
|
config LOG_DEFAULT_LEVEL_VERBOSE
|
|
|
|
bool "Verbose"
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config LOG_DEFAULT_LEVEL
|
|
|
|
int
|
|
|
|
default 0 if LOG_DEFAULT_LEVEL_NONE
|
|
|
|
default 1 if LOG_DEFAULT_LEVEL_ERROR
|
|
|
|
default 2 if LOG_DEFAULT_LEVEL_WARN
|
|
|
|
default 3 if LOG_DEFAULT_LEVEL_INFO
|
|
|
|
default 4 if LOG_DEFAULT_LEVEL_DEBUG
|
|
|
|
default 5 if LOG_DEFAULT_LEVEL_VERBOSE
|
|
|
|
|
|
|
|
config LOG_COLORS
|
|
|
|
bool "Use ANSI terminal colors in log output"
|
|
|
|
default "y"
|
|
|
|
help
|
|
|
|
Enable ANSI terminal color codes in bootloader output.
|
|
|
|
|
|
|
|
In order to view these, your terminal program must support ANSI color codes.
|
2016-09-14 12:53:33 -04:00
|
|
|
|
|
|
|
|
|
|
|
endmenu
|