You are here

public function NullLogger::warn in Zircon Profile 8

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

Overrides LoggerInterface::warn

Deprecated

since version 2.2, to be removed in 3.0. Use warning() which is PSR-3 compatible.

File

vendor/symfony/http-kernel/Log/NullLogger.php, line 40

Class

NullLogger
NullLogger.

Namespace

Symfony\Component\HttpKernel\Log

Code

public function warn($message, array $context = array()) {
  @trigger_error('The ' . __METHOD__ . ' method is deprecated since version 2.2 and will be removed in 3.0. You should use the new warning() method instead, which is PSR-3 compatible.', E_USER_DEPRECATED);
}