protected function output()
    {
        // first get content to local var
        $content = $this->getContentRaw();

        // iterate log content
        foreach ($content as $logEntry) {

            // build the log-line
            $content = $logEntry['time'].' '.
                '['.$logEntry['type'].'] '.
                $logEntry['fingerprint'].' '.
                $logEntry['message'].
                $this->lineBreak.$this->getLineSeparator().$this->lineBreak;

            // use persistent write to write content to file?
            if ($this->getPersistent() === true) {
                $this->getFilesystem()->pwrite($this->getLogfile(), $content, $this->getAppend());
            } else {
                $this->getFilesystem()->write($this->getLogfile(), $content, $this->getAppend());
            }
        }

        // so we can clear the existing log
        $this->clearContent();
    }
protected function output()
    {
        // first get content to local var
        $content = $this->getContentRaw();

        // iterate log content
        foreach ($content as $logEntry) {

            // build the log-line
            $content = $logEntry['time'].' '.
                '['.$logEntry['type'].'] '.
                $logEntry['fingerprint'].' '.
                $logEntry['message'].
                $this->lineBreak.$this->getLineSeparator().$this->lineBreak;

            // use persistent write to write content to file?
            if ($this->getPersistent() === true) {
                $this->getFilesystem()->pwrite($this->getLogfile(), $content, $this->getAppend());
            } else {
                $this->getFilesystem()->write($this->getLogfile(), $content, $this->getAppend());
            }
        }

        // so we can clear the existing log
        $this->clearContent();
    }
protected function output ( ) { // first get content to local var $ content = $ this -> getContentRaw ( ) ; // iterate log content foreach ( $ content as $ logEntry ) { // build the log-line $ content = $ logEntry [ 'time' ] . ' ' . '[' . $ logEntry [ 'type' ] . '] ' . $ logEntry [ 'fingerprint' ] . ' ' . $ logEntry [ 'message' ] . $ this -> lineBreak . $ this -> getLineSeparator ( ) . $ this -> lineBreak ; // use persistent write to write content to file? if ( $ this -> getPersistent ( ) === true ) { $ this -> getFilesystem ( ) -> pwrite ( $ this -> getLogfile ( ) , $ content , $ this -> getAppend ( ) ) ; } else { $ this -> getFilesystem ( ) -> write ( $ this -> getLogfile ( ) , $ content , $ this -> getAppend ( ) ) ; } } // so we can clear the existing log $ this -> clearContent ( ) ; }
Output method for writing files.
We need this method cause it differs here from abstract default.

@author Benjamin Carl <opensource@clickalicious.de>
Output method for writing files . We need this method cause it differs here from abstract default .