lib: updatehub: Add log level
Current log only prints default log level. Add LOG_LEVEL at updatehub to switch between log variations based on CONFIG_UPDATEHUB_LOG_LEVEL. Signed-off-by: Gerson Fernando Budke <gerson.budke@ossystems.com.br>
This commit is contained in:
parent
0651688dd3
commit
9a43250667
1 changed files with 1 additions and 2 deletions
|
@ -5,8 +5,7 @@
|
|||
*/
|
||||
|
||||
#include <logging/log.h>
|
||||
|
||||
LOG_MODULE_REGISTER(updatehub);
|
||||
LOG_MODULE_REGISTER(updatehub, CONFIG_UPDATEHUB_LOG_LEVEL);
|
||||
|
||||
#include <zephyr.h>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue