public RfcLoggerTrait::critical($message, array $context = array())
Critical conditions.
Example: Application component unavailable, unexpected exception.
string $message:
array $context:
null
Overrides LoggerInterface::critical
public function critical($message, array $context = array()) { $this->log(RfcLogLevel::CRITICAL, $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::critical/8.1.x