You are here

public function LoggerTrait::emergency in TMGMT Translator Smartling 8.3

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

System is unusable.

Parameters

string $message:

array $context:

Return value

void

File

vendor/psr/log/Psr/Log/LoggerTrait.php, line 23

Class

LoggerTrait
This is a simple Logger trait that classes unable to extend AbstractLogger (because they extend another class, etc) can include.

Namespace

Psr\Log

Code

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