getPathInfo(); $type = get_class($response); $status = $response->getStatusCode(); // Use a warning to avoid being filtered out by the default Monolog config. $logger->info("Returned a $status $type on $path"); } }