Add logpoint
This commit is contained in:
parent
befd5c860d
commit
7d251f092e
1 changed files with 2 additions and 0 deletions
|
@ -129,6 +129,8 @@ class HTTPClient implements IHTTPClient
|
||||||
};
|
};
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
$this->logger->debug('http request config.', ['url' => $url, 'method' => $method, 'options' => $conf]);
|
||||||
|
|
||||||
switch ($method) {
|
switch ($method) {
|
||||||
case 'get':
|
case 'get':
|
||||||
case 'head':
|
case 'head':
|
||||||
|
|
Loading…
Reference in a new issue