Click or drag to resize

ColoredConsoleTargetDetectOutputRedirected Property

Gets or sets a value indicating whether to auto-check if the console has been redirected to file - Disables coloring logic when System.Console.IsOutputRedirected =

Namespace:  NLog.Targets
Assembly:  NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntax
public bool DetectOutputRedirected { get; set; }

Property Value

Type: Boolean
Remarks
Default:
See Also