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