Page 1 of 1
make menuconfig change log level, But looks like the CONFIG_LOG_DEFAULT_LEVEL_INFO macro not using in C source code, why
Posted: Fri Dec 02, 2016 9:27 am
by wziy520
make menuconfig change log level, But looks like the CONFIG_LOG_DEFAULT_LEVEL_INFO macro not using in C source code, why?how to make the Macro define works?
Re: make menuconfig change log level, But looks like the CONFIG_LOG_DEFAULT_LEVEL_INFO macro not using in C source code,
Posted: Fri Dec 02, 2016 4:27 pm
by kolban
Are you including the header called "sdkconfig.h" in your source files?
Re: make menuconfig change log level, But looks like the CONFIG_LOG_DEFAULT_LEVEL_INFO macro not using in C source code,
Posted: Fri Dec 02, 2016 4:54 pm
by ESP_igrr
What debug level have you set in menuconfig?
CONFIG_LOG_DEFAULT_LEVEL_INFO macro will only be defined if the debug level is set to "Info".
Re: make menuconfig change log level, But looks like the CONFIG_LOG_DEFAULT_LEVEL_INFO macro not using in C source code,
Posted: Mon Dec 05, 2016 7:58 am
by wziy520
yes, include "sdkconfig.h" file.
but I can't find "CONFIG_LOG_DEFAULT_LEVEL_INFO" in other part of source code. how i can get where it works.
Re: make menuconfig change log level, But looks like the CONFIG_LOG_DEFAULT_LEVEL_INFO macro not using in C source code,
Posted: Mon Dec 05, 2016 8:24 am
by WiFive