/// <summary> /// Appends a header to the log file to denote a new section /// </summary> /// <param name="message">The text within the header</param> public void AppendHeader(string message) { this._buffer.AppendLine(_header); this._buffer.AppendLine(message); this._buffer.AppendLine(_header); if (this.TextChanged != null) { var args = new LogTextEventArgs(_header); this.TextChanged(this, args); this.TextChanged(this, new LogTextEventArgs(message + "\n")); this.TextChanged(this, args); } }