提交 6b190fb9 编写于 作者: M Mupceet

init: fix bugs

Signed-off-by: NMupceet <laiguizhong@huawei.com>
上级 5158c9ad
...@@ -27,10 +27,10 @@ ...@@ -27,10 +27,10 @@
(void)(x) \ (void)(x) \
} while (0) } while (0)
#define MAX_LOG_SIZE 1024 #define MAX_LOG_SIZE 128
#define BASE_YEAR 1900 #define BASE_YEAR 1900
static InitLogLevel g_logLevel = INIT_INFO; static InitLogLevel g_logLevel = INIT_ERROR;
static const char *LOG_LEVEL_STR[] = { "DEBUG", "INFO", "WARNING", "ERROR", "FATAL" }; static const char *LOG_LEVEL_STR[] = { "DEBUG", "INFO", "WARNING", "ERROR", "FATAL" };
void SetInitLogLevel(InitLogLevel logLevel) void SetInitLogLevel(InitLogLevel logLevel)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册