Passed
Push — master ( 554795...84f281 )
by Charis
103:49 queued 98:14
created

DummyLogger::emergency()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 2
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace One;
4
5
use Psr\Log\LoggerInterface;
6
7
/**
8
 * dummy logger
9
 * @method void emergency($message, array $context)
10
 * @method void alert($message, array $context)
11
 * @method void critical($message, array $context)
12
 * @method void error($message, array $context)
13
 * @method void warning($message, array $context)
14
 * @method void notice($message, array $context)
15
 * @method void info($message, array $context)
16
 * @method void debug($message, array $context)
17
 * @method void log($level, $message, array $context)
18
 */
19
class DummyLogger implements LoggerInterface
20
{
21
    /**
22
     * {@inheritdoc}
23
     */
24
    public function emergency($message, array $context = array())
25
    {
26
    }
27
28
    /**
29
     * {@inheritdoc}
30
     */
31
    public function alert($message, array $context = array())
32
    {
33
    }
34
35
    /**
36
     * {@inheritdoc}
37
     */
38
    public function critical($message, array $context = array())
39
    {
40
    }
41
    /**
42
     * {@inheritdoc}
43
     */
44
    public function error($message, array $context = array())
45
    {
46
    }
47
    /**
48
     * {@inheritdoc}
49
     */
50
    public function warning($message, array $context = array())
51
    {
52
    }
53
    /**
54
     * {@inheritdoc}
55
     */
56
    public function notice($message, array $context = array())
57
    {
58
    }
59
    /**
60
     * {@inheritdoc}
61
     */
62
    public function info($message, array $context = array())
63
    {
64
    }
65
    /**
66
     * {@inheritdoc}
67
     */
68
    public function debug($message, array $context = array())
69
    {
70
    }
71
    /**
72
     * {@inheritdoc}
73
     */
74
    public function log($level, $message, array $context = array())
75
    {
76
    }
77
}
78