protected static function MemcacheStorageAPI::logError in Memcache Storage 7
Trigger error if something goes wrong.
Parameters
$message:
array $variables:
1 call to MemcacheStorageAPI::logError()
- MemcacheStorageAPI::connectToCluster in ./
memcache_storage.api.inc - Connect to memcached cluster and return memcached object.
File
- ./
memcache_storage.api.inc, line 588 - Provide class that processes memcached operations.
Class
- MemcacheStorageAPI
- Integrates with memcache API.
Code
protected static function logError($message, $variables = array()) {
// We can't use watchdog because this happens in a bootstrap phase
// where watchdog is non-functional. Register a shutdown handler
// instead so it gets recorded at the end of page load.
register_shutdown_function('watchdog', 'memcache_storage', $message, $variables, WATCHDOG_ERROR);
}