添加系统日志状态接口
This commit is contained in:
+11
@@ -2,6 +2,9 @@ package xtools.app.common.log.bus.service;
|
||||
|
||||
import xtools.boot.log.model.dto.LogBody;
|
||||
|
||||
import java.time.Instant;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* <p>Title : LogBusService</p>
|
||||
* <p>Description : LogBusService</p>
|
||||
@@ -29,4 +32,12 @@ public interface LogBusService {
|
||||
*/
|
||||
String total();
|
||||
|
||||
/**
|
||||
* 获取指定日期的日志统计数据(按级别,从Redis读取)
|
||||
*
|
||||
* @param time 时间
|
||||
* @return 日志级别编码 -> 数量
|
||||
*/
|
||||
Map<Integer, Long> getTotalByDay(Instant time);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user