original_string: protected function getFileHandler($file)
      {
          $format = '[%datetime%] %channel%.%level_name%: %message% %context% %extra%'.PHP_EOL;
  
          $handler = new StreamHandler($file, Logger::INFO);
          $handler->setFormatter(new LineFormatter($format));
  
          return new DummyExceptionHandler($handler);
      }
code: protected function getFileHandler($file)
      {
          $format = '[%datetime%] %channel%.%level_name%: %message% %context% %extra%'.PHP_EOL;
  
          $handler = new StreamHandler($file, Logger::INFO);
          $handler->setFormatter(new LineFormatter($format));
  
          return new DummyExceptionHandler($handler);
      }
code_tokens: protected function getFileHandler ( $ file ) { $ format = '[%datetime%] %channel%.%level_name%: %message% %context% %extra%' . PHP_EOL ; $ handler = new StreamHandler ( $ file , Logger :: INFO ) ; $ handler -> setFormatter ( new LineFormatter ( $ format ) ) ; return new DummyExceptionHandler ( $ handler ) ; }
docstring: Log handler for files
  
  @param  string      $file Path of log file
  @return DummyExceptionHandler
docstring_tokens: Log handler for files