public function AbstractLogger::emergency in Service Container 7
Same name and namespace in other branches
- 7.2 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\LogCode
public function emergency($message, array $context = array()) {
$this
->log(LogLevel::EMERGENCY, $message, $context);
}