 | LogFactoryFlush Method (TimeSpan) |
Flush any pending log messages (in case of asynchronous targets).
Namespace: NLogAssembly: NLog (in NLog.dll) Version: 4.3.0
Syntaxpublic void Flush(
TimeSpan timeout
)
Public Sub Flush (
timeout As TimeSpan
)
Parameters
- timeout
- Type: SystemTimeSpan
Maximum time to allow for the flush. Any messages after that time
will be discarded.
See Also