修复仅支持东八区时间的问题,使用localtime_r进行转换
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user