src/VagrantTransient.php
public function getLog()
    {
        if (null == $this->log) {
            $handler    = new StreamHandler($this->_getLogFileName(), Logger::INFO);
            $this->log  = new Logger('VagrantTransient');
            $this->log->pushHandler($handler);
        }
        return $this->log;
    }
public function getLog()
    {
        if (null == $this->log) {
            $handler    = new StreamHandler($this->_getLogFileName(), Logger::INFO);
            $this->log  = new Logger('VagrantTransient');
            $this->log->pushHandler($handler);
        }
        return $this->log;
    }
public function getLog ( ) { if ( null == $ this -> log ) { $ handler = new StreamHandler ( $ this -> _getLogFileName ( ) , Logger :: INFO ) ; $ this -> log = new Logger ( 'VagrantTransient' ) ; $ this -> log -> pushHandler ( $ handler ) ; } return $ this -> log ; }
This method returns a singleton instance of the logger class.

@return Logger
This method returns a singleton instance of the logger class .