Add logpoint

This commit is contained in:
Philipp Holzer 2021-08-25 13:58:29 +02:00
parent befd5c860d
commit 7d251f092e
No known key found for this signature in database
GPG Key ID: 9A28B7D4FF5667BD
1 changed files with 2 additions and 0 deletions

View File

@ -129,6 +129,8 @@ class HTTPClient implements IHTTPClient
};
try {
$this->logger->debug('http request config.', ['url' => $url, 'method' => $method, 'options' => $conf]);
switch ($method) {
case 'get':
case 'head':