NLog Logging Library

LogManager.Flush Method

[This is preliminary documentation and subject to change.]

Flush any pending log messages (in case of asynchronous targets).

Overload List

Flush any pending log messages (in case of asynchronous targets).

public static void Flush();

Flush any pending log messages (in case of asynchronous targets).

public static void Flush(int);

Flush any pending log messages (in case of asynchronous targets).

public static void Flush(TimeSpan);

See Also

LogManager Class | NLog Namespace