You are here

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

Runtime errors that do not require immediate action but should typically be logged and monitored.

Parameters

string $message:

array $context:

Return value

null

Overrides LoggerInterface::error

File

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

Class

Logger

Namespace

Symfony\Component\HttpKernel\Tests

Code

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