/** * Write memcache/apc debug info to the log */ private function debug($type, $key, $data = null, $result = null) { $line = strtoupper($type) . ' ' . $key; if ($data !== null) { $line .= ' ' . ($this->packed ? $data : serialize($data)); } rcube::debug($this->type, $line, $result); }
/** * Write memcache debug info to the log */ protected function debug($type, $key, $data = null, $result = null) { $line = strtoupper($type) . ' ' . $key; if ($data !== null) { $line .= ' ' . $data; } rcube::debug($this->type, $line, $result); }