/// <summary>
 /// Initializes a new instance of the <see cref="ColoredConsoleTarget" /> class.
 /// </summary>
 /// <remarks>
 /// The default value of the layout is: <code>${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}</code>
 /// </remarks>
 public ColoredConsoleTarget()
 {
     WordHighlightingRules          = new List <ConsoleWordHighlightingRule>();
     RowHighlightingRules           = new List <ConsoleRowHighlightingRule>();
     UseDefaultRowHighlightingRules = true;
     _consolePrinter = CreateConsolePrinter(EnableAnsiOutput);
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ColoredConsoleTarget" /> class.
 /// </summary>
 /// <remarks>
 /// The default value of the layout is: <code>${longdate}|${level:uppercase=true}|${logger}|${message}</code>
 /// </remarks>
 public ColoredConsoleTarget()
 {
     WordHighlightingRules          = new List <ConsoleWordHighlightingRule>();
     RowHighlightingRules           = new List <ConsoleRowHighlightingRule>();
     UseDefaultRowHighlightingRules = true;
     _pauseLogging          = false;
     DetectConsoleAvailable = false;
     OptimizeBufferReuse    = true;
     _consolePrinter        = CreateConsolePrinter(EnableAnsiOutput);
 }