Kconfig 1.3 KB

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