log4net SDK Reference

BufferingAppenderSkeleton.Lossy Property

Gets or sets a value that indicates whether the appender is lossy.

[Visual Basic]
Public Property Lossy As Boolean
[C#]
public bool Lossy {get; set;}

Property Value

true if the appender is lossy, otherwise false. The default is false.

Remarks

This appender uses a buffer to store logging events before delivering them. A triggering event causes the whole buffer to be send to the remote sink. If the buffer overruns before a triggering event then logging events could be lost. Set Lossy to false to prevent logging events from being lost.

If Lossy is set to true then an Evaluator must be specified.

See Also

BufferingAppenderSkeleton Class | log4net.Appender Namespace