类 PointUtil

java.lang.Object
top.tangyh.basic.log.monitor.PointUtil

public final class PointUtil extends Object
日志埋点工具类
作者:
zuihou
  • 方法详细资料

    • info

      public static void info(String id, String type, String message)
      格式为:{对象id}|{类型}|{对象属性(以&\u5206\u5272)} 例子1:12344|user-login|ip=xxx.xxx.xx&userName=张三&userType=后台管理员 例子2:12345|file-upload|fileName=xxx&filePath=xxx
      参数:
      id - 对象id
      type - 类型
      message - 对象属性
    • debug

      public static void debug(String id, String type, String message)