src/VagrantTransient.php
protected function printLn($message, $type='general', $out=true)
    {
        if (null == $message) {
            return;
        }
        if (null != $this->output) {
            $message = (null == $type) ? $message : "<{$type}>{$message}</{$type}>";
            if (true == $out) {
                $this->output->writeLn($message);
            }
        }
        $this->getLog()->addInfo($message, array('type' => $type));
    }
protected function printLn($message, $type='general', $out=true)
    {
        if (null == $message) {
            return;
        }
        if (null != $this->output) {
            $message = (null == $type) ? $message : "<{$type}>{$message}</{$type}>";
            if (true == $out) {
                $this->output->writeLn($message);
            }
        }
        $this->getLog()->addInfo($message, array('type' => $type));
    }
protected function printLn ( $ message , $ type = 'general' , $ out = true ) { if ( null == $ message ) { return ; } if ( null != $ this -> output ) { $ message = ( null == $ type ) ? $ message : "<{$type}>{$message}</{$type}>" ; if ( true == $ out ) { $ this -> output -> writeLn ( $ message ) ; } } $ this -> getLog ( ) -> addInfo ( $ message , array ( 'type' => $ type ) ) ; }
This method prints a line to the terminal.

@param string $message Is the message
@param string $type    Is the type of message (warning|notice|general)
@param bool   $out     Tells the method to print to the terminal or just log

@return void
This method prints a line to the terminal .