/// <summary>
 /// 添加行
 /// </summary>
 protected void AppendLine(StringBuilder result, LogContent content, Action <StringBuilder, LogContent> action, ref int line)
 {
     Append(result, content, action, ref line);
     result.AppendLine();
 }
 /// <summary>
 /// 添加行
 /// </summary>
 protected void Append(StringBuilder result, LogContent content, Action <StringBuilder, LogContent> action, ref int line)
 {
     result.AppendFormat("{0}. ", line++);
     action(result, content);
 }
 public string Format(LogContent content)
 {
     return(FormatStr(content));
 }