protected function sync_single_log(&$buffer, $suffix)
    {
        if ( ! empty($buffer))
        {
            $this->write($buffer, $this->dir . $this->prefix . $suffix . '.log');
            $buffer = array();
        }
    }
protected function sync_single_log(&$buffer, $suffix)
    {
        if ( ! empty($buffer))
        {
            $this->write($buffer, $this->dir . $this->prefix . $suffix . '.log');
            $buffer = array();
        }
    }
protected function sync_single_log ( & $ buffer , $ suffix ) { if ( ! empty ( $ buffer ) ) { $ this -> write ( $ buffer , $ this -> dir . $ this -> prefix . $ suffix . '.log' ) ; $ buffer = array ( ) ; } }
Sync specific buffer to file

@param array $buffer
@param string $suffix log filename suffix
Sync specific buffer to file