function memcache_log_warning in Zircon Profile 8
Same name and namespace in other branches
- 8.0 modules/memcache/memcache.module \memcache_log_warning()
Log error.
Parameters
string $context: Context (class and function name).
string $message: Message to log.
int $level: Error level.
3 string references to 'memcache_log_warning'
- DrupalMemcache::getMulti in modules/
memcache/ src/ DrupalMemcache.php - Retrieves multiple values from Memcache.
- DrupalMemcacheBase::get in modules/
memcache/ src/ DrupalMemcacheBase.php - Retrieves a value from Memcache.
- DrupalMemcacheFactory::get in modules/
memcache/ src/ DrupalMemcacheFactory.php - Returns a Memcache object based on settings and the bin requested.
File
- modules/
memcache/ memcache.module, line 20
Code
function memcache_log_warning($level, $message, $context) {
\Drupal::logger('memcache')
->log($level, $message, $context);
}