/**
  * @param Request       $request
  * @param SabreResponse $response
  * @param string        $responseBody
  */
 private function logIt(Request $request, SabreResponse $response, $responseBody)
 {
     $this->get('logger')->info('------------------------ METHOD -------------------------');
     $this->get('logger')->info($request->getMethod());
     $this->get('logger')->info('------------------------ REQUEST ------------------------');
     foreach ($request->headers->all() as $key => $value) {
         if (is_array($value)) {
             $this->get('logger')->info($key . ' => ' . implode(', ', $value));
         } else {
             $this->get('logger')->info($key . ' => ' . $value);
         }
     }
     $this->get('logger')->info('------------------------ RESPONSE -----------------------');
     $this->get('logger')->info($response->__toString());
     $this->get('logger')->info($responseBody);
     $this->get('logger')->info('------------------------ END ----------------------------');
 }