1、【优化】参数配置的顺序,逻辑性更强。

Signed-off-by: armink <armink.ztl@gmail.com>
pull/3/head
armink 11 years ago
parent 2c1f8d9725
commit 6fc16805e5

@ -29,14 +29,14 @@
#ifndef _ELOG_CFG_H_ #ifndef _ELOG_CFG_H_
#define _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 */ /* enable log output. default open this macro */
#define ELOG_OUTPUT_ENABLE #define ELOG_OUTPUT_ENABLE
/* output line number max length */ /* setting static output log level */
#define ELOG_LINE_NUM_MAX_LEN 5 #define ELOG_OUTPUT_LVL ELOG_LVL_VERBOSE
/* log buffer size */ /* log buffer size */
#define ELOG_BUF_SIZE 256 #define ELOG_BUF_SIZE 256
/* output line number max length */
#define ELOG_LINE_NUM_MAX_LEN 5
/* output filter's tag max length */ /* output filter's tag max length */
#define ELOG_FILTER_TAG_MAX_LEN 16 #define ELOG_FILTER_TAG_MAX_LEN 16
/* output filter's keyword max length */ /* output filter's keyword max length */

@ -29,14 +29,14 @@
#ifndef _ELOG_CFG_H_ #ifndef _ELOG_CFG_H_
#define _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 */ /* enable log output. default open this macro */
#define ELOG_OUTPUT_ENABLE #define ELOG_OUTPUT_ENABLE
/* output line number max length */ /* setting static output log level */
#define ELOG_LINE_NUM_MAX_LEN 5 #define ELOG_OUTPUT_LVL ELOG_LVL_VERBOSE
/* log buffer size */ /* log buffer size */
#define ELOG_BUF_SIZE 512 #define ELOG_BUF_SIZE 512
/* output line number max length */
#define ELOG_LINE_NUM_MAX_LEN 5
/* output filter's tag max length */ /* output filter's tag max length */
#define ELOG_FILTER_TAG_MAX_LEN 16 #define ELOG_FILTER_TAG_MAX_LEN 16
/* output filter's keyword max length */ /* output filter's keyword max length */

@ -29,14 +29,14 @@
#ifndef _ELOG_CFG_H_ #ifndef _ELOG_CFG_H_
#define _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 */ /* enable log output. default open this macro */
#define ELOG_OUTPUT_ENABLE #define ELOG_OUTPUT_ENABLE
/* output line number max length */ /* setting static output log level */
#define ELOG_LINE_NUM_MAX_LEN 5 #define ELOG_OUTPUT_LVL ELOG_LVL_VERBOSE
/* log buffer size */ /* log buffer size */
#define ELOG_BUF_SIZE 256 #define ELOG_BUF_SIZE 256
/* output line number max length */
#define ELOG_LINE_NUM_MAX_LEN 5
/* output filter's tag max length */ /* output filter's tag max length */
#define ELOG_FILTER_TAG_MAX_LEN 16 #define ELOG_FILTER_TAG_MAX_LEN 16
/* output filter's keyword max length */ /* output filter's keyword max length */

@ -29,14 +29,14 @@
#ifndef _ELOG_CFG_H_ #ifndef _ELOG_CFG_H_
#define _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 */ /* enable log output. default open this macro */
#define ELOG_OUTPUT_ENABLE #define ELOG_OUTPUT_ENABLE
/* output line number max length */ /* setting static output log level */
#define ELOG_LINE_NUM_MAX_LEN 5 #define ELOG_OUTPUT_LVL ELOG_LVL_VERBOSE
/* log buffer size */ /* log buffer size */
#define ELOG_BUF_SIZE 512 #define ELOG_BUF_SIZE 512
/* output line number max length */
#define ELOG_LINE_NUM_MAX_LEN 5
/* output filter's tag max length */ /* output filter's tag max length */
#define ELOG_FILTER_TAG_MAX_LEN 16 #define ELOG_FILTER_TAG_MAX_LEN 16
/* output filter's keyword max length */ /* output filter's keyword max length */

@ -29,14 +29,14 @@
#ifndef _ELOG_CFG_H_ #ifndef _ELOG_CFG_H_
#define _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 */ /* enable log output. default open this macro */
#define ELOG_OUTPUT_ENABLE #define ELOG_OUTPUT_ENABLE
/* output line number max length */ /* setting static output log level */
#define ELOG_LINE_NUM_MAX_LEN /* @note you must define it for a value */ #define ELOG_OUTPUT_LVL /* @note you must define it for a value */
/* log buffer size */ /* log buffer size */
#define ELOG_BUF_SIZE /* @note you must define it for a value */ #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 */ /* output filter's tag max length */
#define ELOG_FILTER_TAG_MAX_LEN /* @note you must define it for a value */ #define ELOG_FILTER_TAG_MAX_LEN /* @note you must define it for a value */
/* output filter's keyword max length */ /* output filter's keyword max length */

Loading…
Cancel
Save