| 构造器和说明 |
|---|
LogSourceMongo(org.noear.weed.mongo.MgContext db) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clear(String logger,
int keep_days) |
List<LogModel> |
query(String logger,
String trace_id,
Integer level,
int size,
String tag,
String tag1,
String tag2,
String tag3,
Integer log_date,
Long log_id) |
long |
stat(String logger,
Integer level,
Integer log_date) |
void |
write(long log_id,
String logger,
String trace_id,
Level level,
String tag,
String tag1,
String tag2,
String tag3,
String summary,
Object content,
String from,
Date log_fulltime) |
void |
writeAll(String logger,
List<LogEvent> list) |
public List<LogModel> query(String logger, String trace_id, Integer level, int size, String tag, String tag1, String tag2, String tag3, Integer log_date, Long log_id) throws Exception
public void write(long log_id,
String logger,
String trace_id,
Level level,
String tag,
String tag1,
String tag2,
String tag3,
String summary,
Object content,
String from,
Date log_fulltime)
throws Exception
Copyright © 2021. All rights reserved.