You are here

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

File

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

Class

Logger

Namespace

Symfony\Component\HttpKernel\Tests

Code

public function warn($message, array $context = array()) {
  @trigger_error('Use warning() which is PSR-3 compatible', E_USER_DEPRECATED);
  $this
    ->log('warning', $message, $context);
}