You are here

public static function DrupalMemcachedUtils::logShutdown in Memcache Storage 8

Logs a message on the shutdown.

Parameters

$level: \Psr\Log\LogLevel constant

$message: A message which should be logged.

$context: An array with additional information about the event - uid, link, etc.

File

src/DrupalMemcachedUtils.php, line 89

Class

DrupalMemcachedUtils

Namespace

Drupal\memcache_storage

Code

public static function logShutdown($level, $message, array $context = []) {
  \Drupal::logger('memcache_storage')
    ->log($level, $message, $context);
}