类 ETLLogUtil

java.lang.Object
com.sh.wf.etl.util.ETLLogUtil

public class ETLLogUtil extends Object

Description: 日志工具

Title:首亨软件 - TSS/CRM等

从以下版本开始:
Oct 19, 2012
  • 字段详细资料

    • log4j

      public static org.apache.logging.log4j.Logger log4j
    • etlLogMap

      public static Map<String,StringBuilder> etlLogMap
  • 构造器详细资料

    • ETLLogUtil

      public ETLLogUtil()
  • 方法详细资料

    • info

      public static void info(String str)
      普通日志
      参数:
      str - String
    • getETLLog

      public static String getETLLog(String etlId)
    • clearETLCacheLog

      public static void clearETLCacheLog(ETLContext etlContext)
    • dataLog

      public static void dataLog(ETLContext etlContext, String str)
      记录数据日志
      参数:
      etlContext - ETLContext
      str - String
    • dataLog

      public static void dataLog(ETLContext etlContext, String str, String[] colType, Object[] obj, String[] updateMsg)
    • getDataLog

      public static String getDataLog(String str, String[] colType, Object[] obj)
      获取日志字符串
      参数:
      str - String
      colType - String[]
      obj - Object[]
      返回:
      String
    • info

      public static void info(String str, Object... params)
      普通日志
      参数:
      str - String
      params - Object[]
    • sysout

      public static void sysout(String str)
      普通日志
      参数:
      str - String
    • sysout

      public static void sysout(ETLContext etlContext, String str)
      普通日志
      参数:
      etlContext - ETLContext
      str - String
    • sysout2

      public static void sysout2(String str, Object... params)
    • log

      public static void log(ETLContext etlContext, String str, String[] colsType, Object[] obj)
    • log

      public static void log(ETLContext etlContext, Datastore ds, String str, List<String> colsTypeList, List<Object> objList)
    • log

      public static void log(ETLContext etlContext, Datastore ds, String str, String[] colsType, Object[] obj)
      记录日志
      参数:
      etlContext - ETLContext
      ds - Datastore
      str - String
      colsType - String[]
      obj - Object[]
    • log

      public static void log(ETLContext etlContext, String str)
    • logForever

      public static void logForever(ETLContext etlContext, String str)
    • log

      public static void log(ETLContext etlContext, Datastore ds, String str)
      记录日志
      参数:
      etlContext - ETLContext
      ds - Datastore
      str - String
    • log

      public static void log(ETLContext etlContext, String str, Object... params)
      日志
      参数:
      etlContext - ETLContext
      str - 参数通过 {0} {1} 来指定
      params - str参数中的值
    • log

      public static void log(ETLData etlData, String str)
      记录日志
      参数:
      etlData - ETLData
      str - String
    • log

      public static void log(ETLData etlData, String str, Object... params)
      记录日志
      参数:
      etlData - ETLData
      str - String
      params - Object[]
    • log

      public static void log(String etlId, String str)
      日志信息
      参数:
      etlId - String
      str - String
    • log

      public static void log(String pageId, String str, Object... params)
      日志信息
      参数:
      pageId - String
      str - String
      params - Object[]