LoggerConfig::getChannelName()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
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