Passed
Pull Request — main (#84)
by Andrey
196:26 queued 181:26
created

Logger::log()   A

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
c 0
b 0
f 0
nc 1
nop 1
dl 0
loc 3
rs 10
1
<?php
2
3
namespace Helldar\LaravelLangPublisher\Concerns;
4
5
use Helldar\Verbose\Facades\Log;
6
use Helldar\Verbose\Services\Logger as Service;
7
8
trait Logger
9
{
10
    protected function setLogger(): void
11
    {
12
        Service::io($this->output);
13
    }
14
15
    protected function log(string $message): void
16
    {
17
        Log::write($message);
18
    }
19
}
20