You are here

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

Overrides LoggerInterface::emerg

Deprecated

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

File

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

Class

NullLogger
NullLogger.

Namespace

Symfony\Component\HttpKernel\Log

Code

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