public function LoggerTrait::emergency in Service Container 7.2
Same name and namespace in other branches
- 7 lib/Psr/Log/LoggerTrait.php \Psr\Log\LoggerTrait::emergency()
System is unusable.
Parameters
string $message:
array $context:
Return value
null
File
- lib/
Psr/ Log/ LoggerTrait.php, line 22
Class
- LoggerTrait
- This is a simple Logger trait that classes unable to extend AbstractLogger (because they extend another class, etc) can include.
Namespace
Psr\LogCode
public function emergency($message, array $context = array()) {
$this
->log(LogLevel::EMERGENCY, $message, $context);
}