LoggerConfig   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 3
eloc 5
dl 0
loc 26
rs 10
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getChannelName() 0 3 1
A getHandlers() 0 4 1
A getProcessors() 0 3 1
1
<?php
2
3
/**
4
 * MIT License
5
 * Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
6
 */
7
8
namespace SprykerEco\Client\FactFinderSdk\Business\Log;
9
10
use Spryker\Shared\Log\Config\LoggerConfigInterface;
11
12
class LoggerConfig implements LoggerConfigInterface
13
{
14
    /**
15
     * @return string
16
     */
17
    public function getChannelName()
18
    {
19
        return 'FactFinderLogger';
20
    }
21
22
    /**
23
     * @return \Monolog\Handler\HandlerInterface[]
24
     */
25
    public function getHandlers()
26
    {
27
        return [
28
            new LogHandler(new PaymentLogger()),
29
        ];
30
    }
31
32
    /**
33
     * @return array
34
     */
35
    public function getProcessors()
36
    {
37
        return [];
38
    }
39
}
40