LoggerTrait::getLogger()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

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