LoggerTrait   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getLogger() 0 5 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\LoggerFactory;
11
12
trait LoggerTrait
13
{
14
    /**
15
     * @return \Psr\Log\LoggerInterface
16
     */
17
    protected function getLogger()
18
    {
19
        $loggerConfig = new LoggerConfig();
20
21
        return LoggerFactory::getInstance($loggerConfig);
22
    }
23
}
24