LoggerRepositorySkeletonFlush Method Apache log4net™ SDK Documentation
Flushes all configured Appenders that implement IFlushable.

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

public bool Flush(
	int millisecondsTimeout
)

Parameters

millisecondsTimeout
Type: SystemInt32
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

IFlushableFlush(Int32)
See Also

Reference