示例#1
0
 /// <summary>Log the logging event to the root window (see <see cref="Window"/>). Requires an
 /// <see cref="FilterDecision.Accept"/> from <see cref="LogFilter"/> (or unset <see cref="LogFilter"/>).</summary>
 /// <param name="loggingEvent">The event to log</param>
 /// <remarks>
 /// <para>
 /// This method is called to log a message into this appender.
 /// </para>
 /// </remarks>
 public void DoAppend(LoggingEvent loggingEvent)
 {
     if (LogFilter == null || LogFilter.Decide(loggingEvent) == FilterDecision.Accept)
     {
         Window.DoAppend(loggingEvent);
     }
 }