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\Logger
Code
1 2 3 | public function emergency( $message , array $context = array ()) { $this ->log(RfcLogLevel::EMERGENCY, $message , $context ); } |
Please login to continue.