类 LogClient

  • 所有已实现的接口:
    xin.manong.weapon.base.rebuild.Rebuildable

    public class LogClient
    extends Object
    implements xin.manong.weapon.base.rebuild.Rebuildable
    阿里云SLS客户端
    作者:
    frankcl
    • 方法详细资料

      • 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 - project
        logStore - log store
        kvRecords - 推送数据