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:
Gerson Fernando Budke 2020-05-20 00:03:47 -03:00 committed by Carles Cufí
commit 9a43250667

View file

@ -5,8 +5,7 @@
*/ */
#include <logging/log.h> #include <logging/log.h>
LOG_MODULE_REGISTER(updatehub, CONFIG_UPDATEHUB_LOG_LEVEL);
LOG_MODULE_REGISTER(updatehub);
#include <zephyr.h> #include <zephyr.h>