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

            return(new ConsoleWriter(this, colors));
        }