public function AbstractLogger::critical in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/psr/log/Psr/Log/AbstractLogger.php \Psr\Log\AbstractLogger::critical()
Critical conditions.
Example: Application component unavailable, unexpected exception.
Parameters
string $message:
array $context:
Return value
null
Overrides LoggerInterface::critical
File
- vendor/
psr/ log/ Psr/ Log/ AbstractLogger.php, line 50
Class
- AbstractLogger
- This is a simple Logger implementation that other Loggers can inherit from.
Namespace
Psr\LogCode
public function critical($message, array $context = array()) {
$this
->log(LogLevel::CRITICAL, $message, $context);
}