 | LogFactoryFlushAsync Method |
Flush any pending log messages
Namespace:
NLog
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic Task FlushAsync(
CancellationToken cancellationToken
)
Public Function FlushAsync (
cancellationToken As CancellationToken
) As Task
Dim instance As LogFactory
Dim cancellationToken As CancellationToken
Dim returnValue As Task
returnValue = instance.FlushAsync(cancellationToken)
member FlushAsync :
cancellationToken : CancellationToken -> Task
Parameters
- cancellationToken
- Type: System.ThreadingCancellationToken
Return Value
Type:
Task
See Also