提交 550c28fc 编写于 作者: 王liangliang's avatar 王liangliang 提交者: wish

fixed 775fdc14 from https://gitee.com/i-wangliangliang/startup_init_lite/pulls/1625

枚举值都是大于0的,也必然大于INIT_DEBUG
Signed-off-by: 王liangliang's avatari-wangliangliang <willfox@126.com>
Change-Id: Ief265b004e10b327663f52196bd38f95db9dd014
上级 30f20de0
......@@ -134,7 +134,7 @@ INIT_LOCAL_API void InitLog(int logLevel, unsigned int domain, const char *tag,
INIT_PUBLIC_API void SetInitLogLevel(InitLogLevel level)
{
if ((level >= INIT_DEBUG) && (level <= INIT_FATAL)) {
if (level <= INIT_FATAL) {
g_logLevel = level;
}
return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册