Assembly: log4net (in log4net.dll) Version: 22.214.171.124-.NET 4.0
public virtual void Flush( bool flushLossyBuffer )
Public Overridable Sub Flush ( flushLossyBuffer As Boolean )
public: virtual void Flush( bool flushLossyBuffer )
abstract Flush : flushLossyBuffer : bool -> unit override Flush : flushLossyBuffer : bool -> unit
- Type: SystemBoolean
set to true to flush the buffer of lossy events
Flushes events that have been buffered. If flushLossyBuffer is false then events will only be flushed if this buffer is non-lossy mode.
If the appender is buffering in Lossy mode then the contents of the buffer will only be flushed if flushLossyBuffer is true. In this case the contents of the buffer will be tested against the LossyEvaluator and if triggering will be output. All other buffered events will be discarded.
If flushLossyBuffer is true then the buffer will always be emptied by calling this method.