protected function createErrorlogDriver(array $config)
    {
        return new Monolog($this->parseChannel($config), [
            $this->prepareHandler(new ErrorLogHandler(
                $config['type'] ?? ErrorLogHandler::OPERATING_SYSTEM, $this->level($config)
            )),
        ]);
    }
protected function createErrorlogDriver(array $config)
    {
        return new Monolog($this->parseChannel($config), [
            $this->prepareHandler(new ErrorLogHandler(
                $config['type'] ?? ErrorLogHandler::OPERATING_SYSTEM, $this->level($config)
            )),
        ]);
    }
protected function createErrorlogDriver ( array $ config ) { return new Monolog ( $ this -> parseChannel ( $ config ) , [ $ this -> prepareHandler ( new ErrorLogHandler ( $ config [ 'type' ] ?? ErrorLogHandler :: OPERATING_SYSTEM , $ this -> level ( $ config ) ) ) , ] ) ; }
Create an instance of the "error log" log driver.

@param  array  $config
@return \Psr\Log\LoggerInterface
Create an instance of the error log log driver .