From 6fc16805e5b3dc667c1247853dc2eec4a7e53193 Mon Sep 17 00:00:00 2001 From: armink Date: Tue, 11 Aug 2015 16:00:50 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E3=80=90=E4=BC=98=E5=8C=96=E3=80=91?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E9=85=8D=E7=BD=AE=E7=9A=84=E9=A1=BA=E5=BA=8F?= =?UTF-8?q?=EF=BC=8C=E9=80=BB=E8=BE=91=E6=80=A7=E6=9B=B4=E5=BC=BA=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: armink --- .../non_os/stm32f10x/components/easylogger/inc/elog_cfg.h | 8 ++++---- demo/os/linux/easylogger/inc/elog_cfg.h | 8 ++++---- demo/os/linux/main.c | 2 +- .../stm32f10x/components/easylogger/inc/elog_cfg.h | 8 ++++---- demo/os/windows/easylogger/inc/elog_cfg.h | 8 ++++---- demo/os/windows/main.c | 2 +- easylogger/inc/elog_cfg.h | 8 ++++---- 7 files changed, 22 insertions(+), 22 deletions(-) diff --git a/demo/non_os/stm32f10x/components/easylogger/inc/elog_cfg.h b/demo/non_os/stm32f10x/components/easylogger/inc/elog_cfg.h index 0dc7bd0..db485b6 100644 --- a/demo/non_os/stm32f10x/components/easylogger/inc/elog_cfg.h +++ b/demo/non_os/stm32f10x/components/easylogger/inc/elog_cfg.h @@ -29,14 +29,14 @@ #ifndef _ELOG_CFG_H_ #define _ELOG_CFG_H_ -/* setting static output log level */ -#define ELOG_OUTPUT_LVL ELOG_LVL_VERBOSE /* enable log output. default open this macro */ #define ELOG_OUTPUT_ENABLE -/* output line number max length */ -#define ELOG_LINE_NUM_MAX_LEN 5 +/* setting static output log level */ +#define ELOG_OUTPUT_LVL ELOG_LVL_VERBOSE /* log buffer size */ #define ELOG_BUF_SIZE 256 +/* output line number max length */ +#define ELOG_LINE_NUM_MAX_LEN 5 /* output filter's tag max length */ #define ELOG_FILTER_TAG_MAX_LEN 16 /* output filter's keyword max length */ diff --git a/demo/os/linux/easylogger/inc/elog_cfg.h b/demo/os/linux/easylogger/inc/elog_cfg.h index f7c2579..9fa69bf 100644 --- a/demo/os/linux/easylogger/inc/elog_cfg.h +++ b/demo/os/linux/easylogger/inc/elog_cfg.h @@ -29,14 +29,14 @@ #ifndef _ELOG_CFG_H_ #define _ELOG_CFG_H_ -/* setting static output log level */ -#define ELOG_OUTPUT_LVL ELOG_LVL_VERBOSE /* enable log output. default open this macro */ #define ELOG_OUTPUT_ENABLE -/* output line number max length */ -#define ELOG_LINE_NUM_MAX_LEN 5 +/* setting static output log level */ +#define ELOG_OUTPUT_LVL ELOG_LVL_VERBOSE /* log buffer size */ #define ELOG_BUF_SIZE 512 +/* output line number max length */ +#define ELOG_LINE_NUM_MAX_LEN 5 /* output filter's tag max length */ #define ELOG_FILTER_TAG_MAX_LEN 16 /* output filter's keyword max length */ diff --git a/demo/os/linux/main.c b/demo/os/linux/main.c index 526f7fc..1317ef3 100644 --- a/demo/os/linux/main.c +++ b/demo/os/linux/main.c @@ -67,7 +67,7 @@ int main(void) { /* test logger output */ test_elog(); - return EXIT_SUCCESS; + return EXIT_SUCCESS; } /** diff --git a/demo/os/rt-thread/stm32f10x/components/easylogger/inc/elog_cfg.h b/demo/os/rt-thread/stm32f10x/components/easylogger/inc/elog_cfg.h index 0dc7bd0..db485b6 100644 --- a/demo/os/rt-thread/stm32f10x/components/easylogger/inc/elog_cfg.h +++ b/demo/os/rt-thread/stm32f10x/components/easylogger/inc/elog_cfg.h @@ -29,14 +29,14 @@ #ifndef _ELOG_CFG_H_ #define _ELOG_CFG_H_ -/* setting static output log level */ -#define ELOG_OUTPUT_LVL ELOG_LVL_VERBOSE /* enable log output. default open this macro */ #define ELOG_OUTPUT_ENABLE -/* output line number max length */ -#define ELOG_LINE_NUM_MAX_LEN 5 +/* setting static output log level */ +#define ELOG_OUTPUT_LVL ELOG_LVL_VERBOSE /* log buffer size */ #define ELOG_BUF_SIZE 256 +/* output line number max length */ +#define ELOG_LINE_NUM_MAX_LEN 5 /* output filter's tag max length */ #define ELOG_FILTER_TAG_MAX_LEN 16 /* output filter's keyword max length */ diff --git a/demo/os/windows/easylogger/inc/elog_cfg.h b/demo/os/windows/easylogger/inc/elog_cfg.h index f7c2579..9fa69bf 100644 --- a/demo/os/windows/easylogger/inc/elog_cfg.h +++ b/demo/os/windows/easylogger/inc/elog_cfg.h @@ -29,14 +29,14 @@ #ifndef _ELOG_CFG_H_ #define _ELOG_CFG_H_ -/* setting static output log level */ -#define ELOG_OUTPUT_LVL ELOG_LVL_VERBOSE /* enable log output. default open this macro */ #define ELOG_OUTPUT_ENABLE -/* output line number max length */ -#define ELOG_LINE_NUM_MAX_LEN 5 +/* setting static output log level */ +#define ELOG_OUTPUT_LVL ELOG_LVL_VERBOSE /* log buffer size */ #define ELOG_BUF_SIZE 512 +/* output line number max length */ +#define ELOG_LINE_NUM_MAX_LEN 5 /* output filter's tag max length */ #define ELOG_FILTER_TAG_MAX_LEN 16 /* output filter's keyword max length */ diff --git a/demo/os/windows/main.c b/demo/os/windows/main.c index dbd95df..fecb755 100644 --- a/demo/os/windows/main.c +++ b/demo/os/windows/main.c @@ -67,7 +67,7 @@ int main(void) { /* test logger output */ test_elog(); - return EXIT_SUCCESS; + return EXIT_SUCCESS; } /** diff --git a/easylogger/inc/elog_cfg.h b/easylogger/inc/elog_cfg.h index d88d40d..9d4d626 100644 --- a/easylogger/inc/elog_cfg.h +++ b/easylogger/inc/elog_cfg.h @@ -29,14 +29,14 @@ #ifndef _ELOG_CFG_H_ #define _ELOG_CFG_H_ -/* setting static output log level */ -#define ELOG_OUTPUT_LVL /* @note you must define it for a value */ /* enable log output. default open this macro */ #define ELOG_OUTPUT_ENABLE -/* output line number max length */ -#define ELOG_LINE_NUM_MAX_LEN /* @note you must define it for a value */ +/* setting static output log level */ +#define ELOG_OUTPUT_LVL /* @note you must define it for a value */ /* log buffer size */ #define ELOG_BUF_SIZE /* @note you must define it for a value */ +/* output line number max length */ +#define ELOG_LINE_NUM_MAX_LEN /* @note you must define it for a value */ /* output filter's tag max length */ #define ELOG_FILTER_TAG_MAX_LEN /* @note you must define it for a value */ /* output filter's keyword max length */