修复仅支持东八区时间的问题,使用localtime_r进行转换

This commit is contained in:
yangwei
2018-12-05 21:04:42 +06:00
committed by dump2file
parent f47f6d8bbf
commit 6c8af75e99
6 changed files with 20 additions and 15 deletions

View File

@@ -51,7 +51,7 @@ int main()
pthread_t t[THREAD_NUM];
int i = 0;
sample_handle = MESA_create_runtime_log_handle("./log/", RLOG_LV_DEBUG);
sample_handle = MESA_create_runtime_log_handle("./log/test_log", RLOG_LV_DEBUG);
if(sample_handle == NULL)
{
printf("get log sample_handle error\n");