Add logpoint
This commit is contained in:
parent
befd5c860d
commit
7d251f092e
|
@ -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 New Issue
Block a user