Passed
Push — master ( 6c42be...776013 )
by Igor
02:03
created

NullLogger   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 1
dl 0
loc 7
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A log() 0 2 1
1
<?php
2
/**
3
 * PHP version 5.4 and 7
4
 *
5
 * @package   Payever\Core
6
 * @author    Hennadii.Shymanskyi <[email protected]>
7
 * @copyright 2017-2019 payever GmbH
8
 * @license   MIT <https://opensource.org/licenses/MIT>
9
 */
10
11
namespace Payever\ExternalIntegration\Core\Logger;
12
13
/**
14
 * Class NullLogger
15
 *
16
 * All records are thrown away. Default logger if none explicitly provided.
17
 *
18
 * @package   Payever\Core
19
 * @author    Hennadii.Shymanskyi <[email protected]>
20
 * @copyright 2017-2019 payever GmbH
21
 * @license   MIT <https://opensource.org/licenses/MIT>
22
 */
23
class NullLogger extends \Psr\Log\AbstractLogger
24
{
25
    /**
26
     * @inheritdoc
27
     */
28
    public function log($level, $message, array $context = array())
29
    {
30
    }
31
}
32