LogManagerFlush Method Apache log4net™ SDK Documentation
Flushes logging events buffered in all configured appenders in the default repository.

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

public static bool Flush(
	int millisecondsTimeout
)

Parameters

millisecondsTimeout
Type: SystemInt32
The maximum time in milliseconds to wait for logging events from asycnhronous appenders to be flushed.

Return Value

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

Reference