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\Logger

Code

public function emergency($message, array $context = array()) {
  $this->log(RfcLogLevel::EMERGENCY, $message, $context);
}
doc_Drupal
2016-10-29 09:38:36
Comments
Leave a Comment

Please login to continue.