protected function write(array $record)
    {
        $message = (string)$record['message'];
        $message = str_replace($this->build->currentBuildPath, '/', $message);

        $this->logValue .= $message . PHP_EOL;
        $this->build->setLog($this->logValue);

        Factory::getStore('Build')->save($this->build);
    }
protected function write(array $record)
    {
        $message = (string)$record['message'];
        $message = str_replace($this->build->currentBuildPath, '/', $message);

        $this->logValue .= $message . PHP_EOL;
        $this->build->setLog($this->logValue);

        Factory::getStore('Build')->save($this->build);
    }
protected function write ( array $ record ) { $ message = ( string ) $ record [ 'message' ] ; $ message = str_replace ( $ this -> build -> currentBuildPath , '/' , $ message ) ; $ this -> logValue .= $ message . PHP_EOL ; $ this -> build -> setLog ( $ this -> logValue ) ; Factory :: getStore ( 'Build' ) -> save ( $ this -> build ) ; }
Write a log entry to the build log.
@param array $record
Write a log entry to the build log .