优化web_log写法

This commit is contained in:
zogodo
2022-04-10 15:28:55 +08:00
parent 66bd1bca0d
commit e1e00b60ce
3 changed files with 16 additions and 20 deletions

View File

@@ -6,9 +6,7 @@
#include"http_server/web_log.h"
char* LOG_TMP;
//char log[LOG_LEN];
time_t now;
char time_buf[TIM_LEN];
time_t LOG_NOW;
LogRecord log_record = { 1,{ 0 } };
char log_record_str[LOG_NUM*LOG_LEN] = { 0 };