Ejemplo n.º 1
0
 /// <summary>
 /// Append the log information to the Messages
 /// </summary>
 /// <param name="loggingEvent">The log event.</param>
 protected override void Append(LoggingEvent loggingEvent)
 {
     using (StringWriter writer = new StringWriter(CultureInfo.InvariantCulture))
     {
         _simpleLayout.Format(writer, loggingEvent);
         LastMessage = writer.ToString();
     }
     Layout.Format(_writer, loggingEvent);
     RaisePropertyChanged("Messages");
 }