| ConsoleTargetAutoFlush Property |
Gets or sets a value indicating whether to auto-flush after WriteLine
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public 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:
BooleanRemarks
Normally not required as standard Console.Out will have AutoFlush = true, but not when pipe to file
See Also