You are here

public function AbstractLogger::emergency in Service Container 7.2

Same name and namespace in other branches
  1. 7 lib/Psr/Log/AbstractLogger.php \Psr\Log\AbstractLogger::emergency()

System is unusable.

Parameters

string $message:

array $context:

Return value

null

Overrides LoggerInterface::emergency

File

lib/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);
}