This commit is contained in:
zogodo
2019-12-10 21:38:29 +08:00
parent 7af1aebf12
commit d5df52414c
2 changed files with 3 additions and 2 deletions

View File

@@ -14,9 +14,8 @@ void SetLogRecord(LogRecord* lr, char* log);
char* GetLogRecord(int idx);
#define os_log(format, ...) \
#define web_log(format, ...) \
LOG_TMP = (char*)malloc(sizeof(char)*LOG_LEN); \
snprintf(LOG_TMP, LOG_LEN, format, ##__VA_ARGS__); \
SetLogRecord(&log_record, LOG_TMP); \
custom_log("WIFI", format, ##__VA_ARGS__) \