//写入 public bool WriteLog <T>(BizLog log, T details) { bool result; try { BizLogger.WriteLogBS(log, details); result = true; } catch (Exception ex) { result = false; Log.Exception(ex); } return(result); }
public List <BizLogModel> ShowBizLogInfomation(BizLog log) { return(BizLogger.ShowBizLogInfo(log)); }
//查询 public PagedList <BizLogModel> QueryBizLogInfo(BizLog log, int pageIndex, int pageSize, DateTime?startTime, DateTime?endTime, out int totalRecords) { return(BizLogger.QueryBizLogInfo(log, pageIndex, pageSize, startTime, endTime, out totalRecords)); }