Completed
Pull Request — master (#9)
by ANTHONIUS
02:55
created

ConsoleLogger   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
1
<?php
2
3
/*
4
 * This file is part of the dotfiles project.
5
 *
6
 *     (c) Anthonius Munthi <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Dotfiles\Core\Console;
13
14
use Psr\Log\LogLevel;
15
use Symfony\Component\Console\Logger\ConsoleLogger as BaseConsoleLogger;
16
use Symfony\Component\Console\Output\OutputInterface;
17
18
class ConsoleLogger extends BaseConsoleLogger
19
{
20
    public function __construct(OutputInterface $output, array $verbosityLevelMap = array(), array $formatLevelMap = array())
21
    {
22
        $verbosityLevelMap = array(
23
            LogLevel::INFO => OutputInterface::VERBOSITY_NORMAL,
24
        );
25
        parent::__construct($output, $verbosityLevelMap, $formatLevelMap);
26
    }
27
}
28