/// <summary>
 ///     Appends the specified log event.
 /// </summary>
 /// <param name="logEvent">The log event.</param>
 public void Append(ILogEvent logEvent)
 {
     if (_writer == null)
     {
         _writer           = _factory.CreateStreamWriter(_file);
         _writer.AutoFlush = true;
     }
     _writer.WriteLine(_logFormatter.Format(_provider, logEvent));
 }