You are here

public function Logger::alert 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::alert()

Action must be taken immediately.

Example: Entire website down, database unavailable, etc. This should trigger the SMS alerts and wake you up.

Parameters

string $message:

array $context:

Return value

null

Overrides LoggerInterface::alert

File

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

Class

Logger

Namespace

Symfony\Component\HttpKernel\Tests

Code

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