@Test public void testLogException2() throws Exception{ Log.logError(ErrorCode.TEST, "测试错误"); Log.logError(ErrorCode.TEST, "测试错误"); }
public static void logError(String msg, Throwable throwable) { processLog.error(msg, throwable); }
Log { public static void logError(String msg, Throwable throwable) { processLog.error(msg, throwable); } }
Log { public static void logError(String msg, Throwable throwable) { processLog.error(msg, throwable); }  }
Log { public static void logError(String msg, Throwable throwable) { processLog.error(msg, throwable); }  static void setPrimayKey(String primayKey); static void setSubPrimary(String subPrimaryKey); static void setUniqKey(); static void setModuleName(String moduleName); static void logProcess(String processName, String msg); static void logProcess(String processName, LogCode logCode, String msg); static void logProcess(String processName); static void logErrorToProcessFile(String msg, Throwable throwable); static void logErrorToProcessFile(String msg); static void logErrorToProcessFile(LogCode logCode); static void logErrorToProcessFile(LogCode logCode, String msg); static void logErrorToProcessFile(LogCode logCode, String msg,Throwable throwable); static void logError(String msg, Throwable throwable); static void logError(String msg); static void logError(LogCode logCode); static void logError(LogCode logCode, String msg); static void logError(LogCode logCode, String msg,Throwable throwable); static void logInformation(String msg); static void logInformation(String format,Object[] params); static void logInfoToProcessFile(String msg); static void logInfoToProcessFile(String format,Object[] params); static void logDebug(String msg); static void logDebug(String format,Object[] params); static void logDebugToProcessFile(String msg); static void logDebugToProcessFile(String format,Object[] params); }
Log { public static void logError(String msg, Throwable throwable) { processLog.error(msg, throwable); }  static void setPrimayKey(String primayKey); static void setSubPrimary(String subPrimaryKey); static void setUniqKey(); static void setModuleName(String moduleName); static void logProcess(String processName, String msg); static void logProcess(String processName, LogCode logCode, String msg); static void logProcess(String processName); static void logErrorToProcessFile(String msg, Throwable throwable); static void logErrorToProcessFile(String msg); static void logErrorToProcessFile(LogCode logCode); static void logErrorToProcessFile(LogCode logCode, String msg); static void logErrorToProcessFile(LogCode logCode, String msg,Throwable throwable); static void logError(String msg, Throwable throwable); static void logError(String msg); static void logError(LogCode logCode); static void logError(LogCode logCode, String msg); static void logError(LogCode logCode, String msg,Throwable throwable); static void logInformation(String msg); static void logInformation(String format,Object[] params); static void logInfoToProcessFile(String msg); static void logInfoToProcessFile(String format,Object[] params); static void logDebug(String msg); static void logDebug(String format,Object[] params); static void logDebugToProcessFile(String msg); static void logDebugToProcessFile(String format,Object[] params);  }