|
0
|
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 Symfony\Component\HttpKernel\Log\LoggerInterface; |
|
|
15 |
|
|
|
16 |
/** |
|
|
17 |
* NullLogger. |
|
|
18 |
* |
|
|
19 |
* @author Fabien Potencier <fabien@symfony.com> |
|
|
20 |
* |
|
|
21 |
* @api |
|
|
22 |
*/ |
|
|
23 |
class NullLogger implements LoggerInterface |
|
|
24 |
{ |
|
|
25 |
/** |
|
|
26 |
* @api |
|
|
27 |
*/ |
|
|
28 |
public function emerg($message, array $context = array()) {} |
|
|
29 |
|
|
|
30 |
/** |
|
|
31 |
* @api |
|
|
32 |
*/ |
|
|
33 |
public function alert($message, array $context = array()) {} |
|
|
34 |
|
|
|
35 |
/** |
|
|
36 |
* @api |
|
|
37 |
*/ |
|
|
38 |
public function crit($message, array $context = array()) {} |
|
|
39 |
|
|
|
40 |
/** |
|
|
41 |
* @api |
|
|
42 |
*/ |
|
|
43 |
public function err($message, array $context = array()) {} |
|
|
44 |
|
|
|
45 |
/** |
|
|
46 |
* @api |
|
|
47 |
*/ |
|
|
48 |
public function warn($message, array $context = array()) {} |
|
|
49 |
|
|
|
50 |
/** |
|
|
51 |
* @api |
|
|
52 |
*/ |
|
|
53 |
public function notice($message, array $context = array()) {} |
|
|
54 |
|
|
|
55 |
/** |
|
|
56 |
* @api |
|
|
57 |
*/ |
|
|
58 |
public function info($message, array $context = array()) {} |
|
|
59 |
|
|
|
60 |
/** |
|
|
61 |
* @api |
|
|
62 |
*/ |
|
|
63 |
public function debug($message, array $context = array()) {} |
|
|
64 |
} |