core/console/Controller.php
protected function output($message, $color = null)
    {
        $format = [];
        if (!$this->isMuted()) {
            if ($color !== null) {
                $format[] = $color;
            }
            echo Console::ansiFormat("\r".$message."\n", $format);
        }
    }
protected function output($message, $color = null)
    {
        $format = [];
        if (!$this->isMuted()) {
            if ($color !== null) {
                $format[] = $color;
            }
            echo Console::ansiFormat("\r".$message."\n", $format);
        }
    }
protected function output ( $ message , $ color = null ) { $ format = [ ] ; if ( ! $ this -> isMuted ( ) ) { if ( $ color !== null ) { $ format [ ] = $ color ; } echo Console :: ansiFormat ( "\r" . $ message . "\n" , $ format ) ; } }
Helper method for writting console application output, include before and after wrappers.

@param string $message The message which is displayed
@param string $color A color from {{\yii\helpers\Console}} color constants.
Helper method for writting console application output include before and after wrappers .