LogManager.Flush Method (TimeSpan)
[This is preliminary documentation and subject to change.]
Flush any pending log messages (in case of asynchronous targets).
[Visual Basic]
Overloads Public Shared Sub Flush( _
ByVal
timeout As
TimeSpan _
)
Parameters
-
timeout
- Maximum time to allow for the flush. Any messages after that time will be discarded.
See Also
LogManager Class | NLog Namespace | LogManager.Flush Overload List