@@ -56,7 +56,7 @@ namespace log4net.Appender;
5656/// The buffering appender can be configured in a <see cref="Lossy"/> mode.
5757/// By default the appender is NOT lossy. When the buffer is full all
5858/// the buffered events are sent with <see cref="SendBuffer(LoggingEvent[])"/>.
59- /// If the <see cref="Lossy"/> property is set to <c> true</c > then the
59+ /// If the <see cref="Lossy"/> property is set to <see langword=" true"/ > then the
6060/// buffer will not be sent when it is full, and new events arriving
6161/// in the appender will overwrite the oldest event in the buffer.
6262/// In lossy mode the buffer will only be sent when the <see cref="Evaluator"/>
@@ -87,7 +87,7 @@ protected BufferingAppenderSkeleton() : this(true)
8787 /// Initializes a new instance of the <see cref="BufferingAppenderSkeleton" /> class.
8888 /// </summary>
8989 /// <param name="eventMustBeFixed">the events passed through this appender must be
90- /// fixed by the time that they arrive in the derived class' <c> SendBuffer</c > method.</param>
90+ /// fixed by the time that they arrive in the derived class' <see cref=" SendBuffer"/ > method.</param>
9191 /// <remarks>
9292 /// <para>
9393 /// Protected constructor to allow subclassing.
@@ -107,18 +107,18 @@ protected BufferingAppenderSkeleton(bool eventMustBeFixed)
107107 /// Gets or sets a value that indicates whether the appender is lossy.
108108 /// </summary>
109109 /// <value>
110- /// <c> true</c > if the appender is lossy, otherwise <c> false</c >. The default is <c> false</c >.
110+ /// <see langword=" true"/ > if the appender is lossy, otherwise <see langword=" false"/ >. The default is <see langword=" false"/ >.
111111 /// </value>
112112 /// <remarks>
113113 /// <para>
114114 /// This appender uses a buffer to store logging events before
115115 /// delivering them. A triggering event causes the whole buffer
116116 /// to be sent to the remote sink. If the buffer overruns before
117117 /// a triggering event then logging events could be lost. Set
118- /// <see cref="Lossy"/> to <c> false</c > to prevent logging events
118+ /// <see cref="Lossy"/> to <see langword=" false"/ > to prevent logging events
119119 /// from being lost.
120120 /// </para>
121- /// <para>If <see cref="Lossy"/> is set to <c> true</c > then an
121+ /// <para>If <see cref="Lossy"/> is set to <see langword=" true"/ > then an
122122 /// <see cref="Evaluator"/> must be specified.</para>
123123 /// </remarks>
124124 public bool Lossy { get ; set ; }
@@ -162,7 +162,7 @@ protected BufferingAppenderSkeleton(bool eventMustBeFixed)
162162 /// appender. If the evaluator triggers then the current buffer will
163163 /// immediately be sent (see <see cref="SendBuffer(LoggingEvent[])"/>).
164164 /// </para>
165- /// <para>If <see cref="Lossy"/> is set to <c> true</c > then an
165+ /// <para>If <see cref="Lossy"/> is set to <see langword=" true"/ > then an
166166 /// <see cref="Evaluator"/> must be specified.</para>
167167 /// </remarks>
168168 public ITriggeringEventEvaluator ? Evaluator { get ; set ; }
@@ -202,7 +202,7 @@ protected BufferingAppenderSkeleton(bool eventMustBeFixed)
202202 /// Flushes any buffered log data.
203203 /// </summary>
204204 /// <param name="millisecondsTimeout">The maximum time to wait for logging events to be flushed.</param>
205- /// <returns><c>True</c > if all logging events were flushed successfully, else <c> false</c >.</returns>
205+ /// <returns><see langword="true"/ > if all logging events were flushed successfully, else <see langword=" false"/ >.</returns>
206206 public override bool Flush ( int millisecondsTimeout )
207207 {
208208 Flush ( ) ;
@@ -226,21 +226,21 @@ public override bool Flush(int millisecondsTimeout)
226226 /// <summary>
227227 /// Flush the currently buffered events
228228 /// </summary>
229- /// <param name="flushLossyBuffer">set to <c> true</c > to flush the buffer of lossy events</param>
229+ /// <param name="flushLossyBuffer">set to <see langword=" true"/ > to flush the buffer of lossy events</param>
230230 /// <remarks>
231231 /// <para>
232232 /// Flushes events that have been buffered. If <paramref name="flushLossyBuffer" /> is
233- /// <c> false</c > then events will only be flushed if this buffer is non-lossy mode.
233+ /// <see langword=" false"/ > then events will only be flushed if this buffer is non-lossy mode.
234234 /// </para>
235235 /// <para>
236236 /// If the appender is buffering in <see cref="Lossy"/> mode then the contents
237- /// of the buffer will only be flushed if <paramref name="flushLossyBuffer" /> is <c> true</c >.
237+ /// of the buffer will only be flushed if <paramref name="flushLossyBuffer" /> is <see langword=" true"/ >.
238238 /// In this case the contents of the buffer will be tested against the
239239 /// <see cref="LossyEvaluator"/> and if triggering will be output. All other buffered
240240 /// events will be discarded.
241241 /// </para>
242242 /// <para>
243- /// If <paramref name="flushLossyBuffer" /> is <c> true</c > then the buffer will always
243+ /// If <paramref name="flushLossyBuffer" /> is <see langword=" true"/ > then the buffer will always
244244 /// be emptied by calling this method.
245245 /// </para>
246246 /// </remarks>
@@ -262,7 +262,7 @@ public virtual void Flush(bool flushLossyBuffer)
262262 {
263263 // Test the contents of the buffer against the lossy evaluator
264264 LoggingEvent [ ] bufferedEvents = _cyclicBuffer . PopAll ( ) ;
265- var filteredEvents = new List < LoggingEvent > ( bufferedEvents . Length ) ;
265+ List < LoggingEvent > filteredEvents = new ( bufferedEvents . Length ) ;
266266
267267 foreach ( LoggingEvent loggingEvent in bufferedEvents )
268268 {
0 commit comments