src/Mero/Monolog/MonologComponent.php
protected function openChannel($name, array $handlers, array $processors)
    {
        if (isset($this->channels[$name]) && $this->channels[$name] instanceof Logger) {
            throw new \InvalidArgumentException("Channel '{$name}' already exists");
        }

        $this->channels[$name] = new Logger($name, $handlers, $processors);

        return;
    }
protected function openChannel($name, array $handlers, array $processors)
    {
        if (isset($this->channels[$name]) && $this->channels[$name] instanceof Logger) {
            throw new \InvalidArgumentException("Channel '{$name}' already exists");
        }

        $this->channels[$name] = new Logger($name, $handlers, $processors);

        return;
    }
protected function openChannel ( $ name , array $ handlers , array $ processors ) { if ( isset ( $ this -> channels [ $ name ] ) && $ this -> channels [ $ name ] instanceof Logger ) { throw new \ InvalidArgumentException ( "Channel '{$name}' already exists" ) ; } $ this -> channels [ $ name ] = new Logger ( $ name , $ handlers , $ processors ) ; return ; }
Open a new logger channel.

@param string $name       Logger channel name
@param array  $handlers   Handlers collection
@param array  $processors Processors collection
Open a new logger channel .