public function AbstractLogger::emergency

System is unusable.

Parameters

string $message:

array $context:

Return value

null

Overrides LoggerInterface::emergency

File

drupal/core/vendor/psr/log/Psr/Log/AbstractLogger.php, line 21

Class

AbstractLogger
This is a simple Logger implementation that other Loggers can inherit from.

Namespace

Psr\Log

Code

public function emergency($message, array $context = array()) {
  $this
    ->log(LogLevel::EMERGENCY, $message, $context);
}