 | ConsoleTargetAutoFlush Property |
Gets or sets a value indicating whether to auto-flush after WriteLine
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 5.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntaxpublic bool AutoFlush { get; set; }
Public Property AutoFlush As Boolean
Get
Set
Dim instance As ConsoleTarget
Dim value As Boolean
value = instance.AutoFlush
instance.AutoFlush = value
member AutoFlush : bool with get, set
Property Value
Type:
Boolean
Remarks
Normally not required as standard Console.Out will have AutoFlush = true, but not when pipe to file
See Also