/// <summary> /// /// </summary> public static void AppendLine(this ILogContent content, StringBuilder result, string value) { content.Append(result, value); result.AppendLine(); }
/// <summary> /// 追加内容并换行 /// </summary> public static void AppendLine(this ILogContent content, StringBuilder result, string value, params object[] args) { content.Append(result, value, args); result.AppendLine(); }
/// <summary> /// 设置内容 /// </summary> /// <param name="content">日志内容</param> /// <param name="value">值</param> /// <param name="args">变量值</param> public static void Content(this ILogContent content, string value, params object[] args) { content.Append(content.Content, value, args); }