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 */