BufferingAppenderSkeleton Lossy Property | Apache log4net™ SDK Documentation

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

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public bool Lossy { get; set; }

    Public Property Lossy As Boolean
    	Get
    	Set

    public:
    property bool Lossy {
    	bool get ();
    	void set (bool value);
    }

    member Lossy : bool with get, set

#### Property Value

Type: Boolean
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

#### Reference

BufferingAppenderSkeleton Class
log4net.Appender Namespace