public ConsoleWriter(BaseConsoleIO consoleIO, OutputColors colors) : base(consoleIO) { _errorColor = colors.Error; _infoColor = colors.Info; _warningColor = colors.Warning; }
protected override ConsoleWriter CreateWriter() { var colors = new OutputColors(_errorColor, _infoColor, _warningColor); return(new ConsoleWriter(this, colors)); }