Hello,
We are looking for how to use log level defination for onboard.c
To print log on console we have below macros in onboard.c
#define ONB_ERROR LOG_ERROR
#define ONB_WARN LOG_WARN
#define ONB_INFO LOG_INFO
#define ONB_VERBOSE LOG_VERBOSE
Suppse we want to print log only for ONB_ERROR then from where can we set log level for it.
Any help will be appreciated.
Thank you,
Regards,
Akshaay
Kindly refer to @target\quartz\demo\Onboard_demo\src\include\log_util.h, by default all the log levels are mapped to QCLI_Printf.
So, what modifications we need to do to remove this default log level that are mapped to QCLI_Printf and implement log levels for
#define ONB_ERROR LOG_ERROR
#define ONB_WARN LOG_WARN
#define ONB_INFO LOG_INFO
#define ONB_VERBOSE LOG_VERBOSE
Thank You,
Regards,
Akshaay