提交 e59e4b3a 编写于 作者: X xionglei6

fix log bug

Signed-off-by: Nxionglei6 <xionglei6@huawei.com>
上级 d50e24d3
......@@ -43,18 +43,18 @@ static LogLevel ConvertToHiLog(InitLogLevel level)
{
switch (level) {
case INIT_DEBUG:
return INIT_DEBUG;
return LOG_DEBUG;
case INIT_INFO:
return INIT_INFO;
return LOG_INFO;
case INIT_WARN:
return INIT_WARN;
return LOG_WARN;
case INIT_ERROR:
return INIT_ERROR;
return LOG_ERROR;
case INIT_FATAL:
return INIT_FATAL;
return LOG_FATAL;
// Unexpected log level, set level as lowest
default:
return INIT_DEBUG;
return LOG_DEBUG;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册