LoggerRepositorySkeleton.Flush Method Apache log4netâ„¢ SDK Documentation
Flushes all configured Appenders that implement IFlushable.

Namespace: log4net.Repository
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax

public bool Flush(
	int millisecondsTimeout
)

Parameters

millisecondsTimeout
Type: System.Int32
The maximum time in milliseconds to wait for logging events from asycnhronous appenders to be flushed, or Infinite to wait indefinitely.

Return Value

Type: Boolean
True if all logging events were flushed successfully, else false.

Implements

IFlushable.Flush(Int32)
See Also

Reference