db backup prior to drupal security update
[yaffs-website] / vendor / symfony / http-kernel / Log / NullLogger.php
1 <?php
2
3 /*
4  * This file is part of the Symfony package.
5  *
6  * (c) Fabien Potencier <fabien@symfony.com>
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11
12 namespace Symfony\Component\HttpKernel\Log;
13
14 @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);
15
16 use Psr\Log\NullLogger as PsrNullLogger;
17
18 /**
19  * NullLogger.
20  *
21  * @author Fabien Potencier <fabien@symfony.com>
22  */
23 class NullLogger extends PsrNullLogger implements LoggerInterface
24 {
25     public function emerg($message, array $context = array())
26     {
27         @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);
28     }
29
30     public function crit($message, array $context = array())
31     {
32         @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);
33     }
34
35     public function err($message, array $context = array())
36     {
37         @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);
38     }
39
40     public function warn($message, array $context = array())
41     {
42         @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);
43     }
44 }