original_string: public function log(Request $request, Response $response): void
      {
          $host = $request->url();
          $method = $request->method();
          $agent = $request->userAgent();
          $date = $this->date($response->getDate());
          $status = $response->status();
          $style = $this->style($status);
  
          $this->output->writeln(
              sprintf("%s %s %s <$style>%d</$style> %s", $host, $date, $method, $status, $agent)
          );
      }
code: public function log(Request $request, Response $response): void
      {
          $host = $request->url();
          $method = $request->method();
          $agent = $request->userAgent();
          $date = $this->date($response->getDate());
          $status = $response->status();
          $style = $this->style($status);
  
          $this->output->writeln(
              sprintf("%s %s %s <$style>%d</$style> %s", $host, $date, $method, $status, $agent)
          );
      }
code_tokens: public function log ( Request $ request , Response $ response ) : void { $ host = $ request -> url ( ) ; $ method = $ request -> method ( ) ; $ agent = $ request -> userAgent ( ) ; $ date = $ this -> date ( $ response -> getDate ( ) ) ; $ status = $ response -> status ( ) ; $ style = $ this -> style ( $ status ) ; $ this -> output -> writeln ( sprintf ( "%s %s %s <$style>%d</$style> %s" , $ host , $ date , $ method , $ status , $ agent ) ) ; }
docstring: Access log.
  
  @param \Illuminate\Http\Request $request
  @param \Symfony\Component\HttpFoundation\Response $response
docstring_tokens: Access log .