You are here

public function NullLogger::crit 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::crit()

Overrides LoggerInterface::crit

Deprecated

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

File

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

Class

NullLogger
NullLogger.

Namespace

Symfony\Component\HttpKernel\Log

Code

public function crit($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 critical() method instead, which is PSR-3 compatible.', E_USER_DEPRECATED);
}