original_string: protected function createErrorlogDriver(array $config)
      {
          return new Monolog($this->parseChannel($config), [
              $this->prepareHandler(new ErrorLogHandler(
                  $config['type'] ?? ErrorLogHandler::OPERATING_SYSTEM, $this->level($config)
              )),
          ]);
      }
code: protected function createErrorlogDriver(array $config)
      {
          return new Monolog($this->parseChannel($config), [
              $this->prepareHandler(new ErrorLogHandler(
                  $config['type'] ?? ErrorLogHandler::OPERATING_SYSTEM, $this->level($config)
              )),
          ]);
      }
code_tokens: protected function createErrorlogDriver ( array $ config ) { return new Monolog ( $ this -> parseChannel ( $ config ) , [ $ this -> prepareHandler ( new ErrorLogHandler ( $ config [ 'type' ] ?? ErrorLogHandler :: OPERATING_SYSTEM , $ this -> level ( $ config ) ) ) , ] ) ; }
docstring: Create an instance of the "error log" log driver.
  
  @param  array  $config
  @return \Psr\Log\LoggerInterface
docstring_tokens: Create an instance of the error log log driver .