original_string: protected function getFileExceptionHandler($file)
      {
          $format = '%context.stacktrace%'.PHP_EOL;
  
          $handler = new StreamHandler($file, Logger::ERROR);
          $handler->setFormatter(new ExceptionLineFormatter($format));
  
          return $handler;
      }
code: protected function getFileExceptionHandler($file)
      {
          $format = '%context.stacktrace%'.PHP_EOL;
  
          $handler = new StreamHandler($file, Logger::ERROR);
          $handler->setFormatter(new ExceptionLineFormatter($format));
  
          return $handler;
      }
code_tokens: protected function getFileExceptionHandler ( $ file ) { $ format = '%context.stacktrace%' . PHP_EOL ; $ handler = new StreamHandler ( $ file , Logger :: ERROR ) ; $ handler -> setFormatter ( new ExceptionLineFormatter ( $ format ) ) ; return $ handler ; }
docstring: Exception log handler for files
  
  @param  string      $file Path of log file
  @return StreamHandler
docstring_tokens: Exception log handler for files