UPDATE:补充module输入至日志文件,同时默认输出格式模板增加改module输出

This commit is contained in:
yangwei
2020-09-08 17:00:25 +08:00
parent 2e4c2d3098
commit 8dee487439
2 changed files with 2 additions and 2 deletions

View File

@@ -205,7 +205,7 @@ void MESA_handle_runtime_log(void *handle, int level, const char *module, const
va_list ap;
va_start(ap, fmt);
vzlog(p_handle->zc, __FILE__, sizeof(__FILE__) - 1, __func__, sizeof(__func__) - 1, __LINE__, level, fmt, ap);
vzlog(p_handle->zc, __FILE__, sizeof(__FILE__) - 1, module, strlen(module), __LINE__, level, fmt, ap);
va_end(ap);
return ;
}