modify log4 function and add data trace function

This commit is contained in:
lnk
2026-03-06 16:27:58 +08:00
parent d5916f5559
commit 748f8481bc
9 changed files with 888 additions and 424 deletions

View File

@@ -670,6 +670,8 @@ struct monitor // 监测点台账
char timestamp[64];
char status[255];
int log_level;//日志级别0ERROR1WARN2NORMAL3DEBUG
};
struct terminal // 终端台账
{
@@ -692,6 +694,7 @@ struct terminal // 终端台账
char timestamp[64];
monitor line[10]; // 最多 10 个监测点
int log_level;//日志级别0ERROR1WARN2NORMAL3DEBUG
};
#ifdef __cplusplus