Yaffs site version 1.1
[yaffs-website] / vendor / symfony / http-kernel / Log / LoggerInterface.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 use Psr\Log\LoggerInterface as PsrLogger;
15
16 /**
17  * LoggerInterface.
18  *
19  * @author Fabien Potencier <fabien@symfony.com>
20  *
21  * @deprecated since version 2.2, to be removed in 3.0. Type-hint \Psr\Log\LoggerInterface instead.
22  */
23 interface LoggerInterface extends PsrLogger
24 {
25     /**
26      * @deprecated since version 2.2, to be removed in 3.0. Use emergency() which is PSR-3 compatible.
27      */
28     public function emerg($message, array $context = array());
29
30     /**
31      * @deprecated since version 2.2, to be removed in 3.0. Use critical() which is PSR-3 compatible.
32      */
33     public function crit($message, array $context = array());
34
35     /**
36      * @deprecated since version 2.2, to be removed in 3.0. Use error() which is PSR-3 compatible.
37      */
38     public function err($message, array $context = array());
39
40     /**
41      * @deprecated since version 2.2, to be removed in 3.0. Use warning() which is PSR-3 compatible.
42      */
43     public function warn($message, array $context = array());
44 }