类 LogClient
- java.lang.Object
-
- xin.manong.weapon.aliyun.log.LogClient
-
- 所有已实现的接口:
xin.manong.weapon.base.rebuild.Rebuildable
public class LogClient extends Object implements xin.manong.weapon.base.rebuild.Rebuildable
阿里云SLS客户端- 作者:
- frankcl
-
-
构造器概要
构造器 构造器 说明 LogClient(LogClientConfig config)
-
-
-
构造器详细资料
-
LogClient
public LogClient(LogClientConfig config)
-
-
方法详细资料
-
init
public boolean init()
初始化- 返回:
- 成功返回true,否则返回false
-
destroy
public void destroy()
销毁
-
rebuild
public void rebuild()
- 指定者:
rebuild在接口中xin.manong.weapon.base.rebuild.Rebuildable
-
push
public void push(String project, String logStore, xin.manong.weapon.base.record.KVRecords kvRecords)
推送日志- 参数:
project- projectlogStore- log storekvRecords- 推送数据
-
search
public LogSearchResponse search(LogSearchRequest request)
搜索日志- 参数:
request- 搜索请求- 返回:
- 搜索响应
-
-