public function RfcLoggerTrait::emergency
public RfcLoggerTrait::emergency($message, array $context = array())
System is unusable.
Parameters
string $message:
array $context:
Return value
null
Overrides LoggerInterface::emergency
File
- core/lib/Drupal/Core/Logger/RfcLoggerTrait.php, line 20
Class
- RfcLoggerTrait
- A copy of \Psr\Log\LoggerTrait that uses RFC 5424 compliant log levels.
Namespace
Drupal\Core\LoggerCode
public function emergency($message, array $context = array()) { $this->log(RfcLogLevel::EMERGENCY, $message, $context); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Logger!RfcLoggerTrait.php/function/RfcLoggerTrait::emergency/8.1.x