From c4aec5ae33f9b9bd38590de95cb645a788a4c7b2 Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Wed, 25 Jul 2018 17:58:34 +0200 Subject: [PATCH] update lv_long in lv_conf_templ.h --- lv_conf_templ.h | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/lv_conf_templ.h b/lv_conf_templ.h index 5f2ed4f99..bfd9f3e2c 100644 --- a/lv_conf_templ.h +++ b/lv_conf_templ.h @@ -91,11 +91,17 @@ /*Log settings*/ #define USE_LV_LOG 1 /*Enable/disable the log module*/ #if USE_LV_LOG -#define LV_LOG_INFO 0 /*1: Log a lot of runtime information*/ -#define LV_LOG_WARN 0 /*1: Log is something unexpected happens but succesfully handled*/ -#define LV_LOG_ERROR 1 /*1: Log critical error*/ -#define LV_LOG_USER 1 /*1: Log user defined/user level things */ -#define LV_LOG_PRINTF 0 /*1: Print the log with 'printf'; 0: user need to register a callback*/ +/* How important log should be added: + * LV_LOG_LEVEL_DUBUG A lot of logs to trace every detail + * LV_LOG_LEVEL_TRACE Trace the most important calls + * LV_LOG_LEVEL_INFO Log important events + * LV_LOG_LEVEL_WARN Log is something unwanted happened but didn't caused problem + * LV_LOG_LEVEL_ERROR Only critical issue, when the system may fail + */ +#define LV_LOG_LEVEL LV_LOG_LEVEL_INFO +/* 1: Print the log with 'printf'; 0: user need to register a callback*/ + +#define LV_LOG_PRINTF 1 #endif /*USE_LV_LOG*/ /*================