NullLogger.php in Zircon Profile 8
File
vendor/symfony/http-kernel/Log/NullLogger.php
View source
<?php
namespace Symfony\Component\HttpKernel\Log;
@trigger_error('The ' . __NAMESPACE__ . '\\NullLogger class is deprecated since version 2.2 and will be removed in 3.0. Use the Psr\\Log\\NullLogger class instead from the psr/log Composer package.', E_USER_DEPRECATED);
use Psr\Log\NullLogger as PsrNullLogger;
class NullLogger extends PsrNullLogger implements LoggerInterface {
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);
}
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);
}
public function err($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 error() method instead, which is PSR-3 compatible.', E_USER_DEPRECATED);
}
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);
}
}