protected function _onError($method)
    {
        $this->log('notice', sprintf('Error occured on Memcached::%s(): [%s] %s.', $method, $this->getResultCode(), $this->getResultMessage()));

        return false;
    }
protected function _onError($method)
    {
        $this->log('notice', sprintf('Error occured on Memcached::%s(): [%s] %s.', $method, $this->getResultCode(), $this->getResultMessage()));

        return false;
    }
protected function _onError ( $ method ) { $ this -> log ( 'notice' , sprintf ( 'Error occured on Memcached::%s(): [%s] %s.' , $ method , $ this -> getResultCode ( ) , $ this -> getResultMessage ( ) ) ) ; return false ; }
Logs error result code and message.

@param string $method

@return boolean
@codeCoverageIgnore
Logs error result code and message .