You are here

public function AbstractLogger::emergency in TMGMT Translator Smartling 8.2

Same name and namespace in other branches
  1. 8.4 vendor/psr/log/Psr/Log/AbstractLogger.php \Psr\Log\AbstractLogger::emergency()
  2. 8.3 vendor/psr/log/Psr/Log/AbstractLogger.php \Psr\Log\AbstractLogger::emergency()

System is unusable.

Parameters

string $message:

array $context:

Return value

void

Overrides LoggerInterface::emergency

File

vendor/psr/log/Psr/Log/AbstractLogger.php, line 22

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