modify log4 function and add data trace function
This commit is contained in:
@@ -670,6 +670,8 @@ struct monitor // 监测点台账
|
||||
char timestamp[64];
|
||||
char status[255];
|
||||
|
||||
int log_level;//日志级别,0:ERROR,1:WARN,2:NORMAL,3:DEBUG
|
||||
|
||||
};
|
||||
struct terminal // 终端台账
|
||||
{
|
||||
@@ -692,6 +694,7 @@ struct terminal // 终端台账
|
||||
char timestamp[64];
|
||||
monitor line[10]; // 最多 10 个监测点
|
||||
|
||||
int log_level;//日志级别,0:ERROR,1:WARN,2:NORMAL,3:DEBUG
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user