You are here

public function Logger::critical in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Tests/Logger.php \Symfony\Component\HttpKernel\Tests\Logger::critical()

Critical conditions.

Example: Application component unavailable, unexpected exception.

Parameters

string $message:

array $context:

Return value

null

Overrides LoggerInterface::critical

File

vendor/symfony/http-kernel/Tests/Logger.php, line 59

Class

Logger

Namespace

Symfony\Component\HttpKernel\Tests

Code

public function critical($message, array $context = array()) {
  $this
    ->log('critical', $message, $context);
}