摘要:
案例: log4net.ILog log = log4net.LogManager.GetLogger("ReturnInsurance"); StringBuilder logContext = new StringBuilder(); logContext.AppendFormat("-----time:{0}*reason:{1} -----\r\n", DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"), errorMessage); logContext.Append("公共流 阅读全文