|
2 | 2 |
|
3 | 3 | namespace AlibabaCloud\Client\Request; |
4 | 4 |
|
5 | | -use Exception; |
6 | | -use ArrayAccess; |
7 | | -use GuzzleHttp\Client; |
8 | | -use GuzzleHttp\Psr7\Uri; |
9 | | -use GuzzleHttp\Middleware; |
10 | | -use AlibabaCloud\Client\SDK; |
11 | | -use GuzzleHttp\HandlerStack; |
12 | | -use AlibabaCloud\Client\Encode; |
13 | 5 | use AlibabaCloud\Client\AlibabaCloud; |
14 | | -use AlibabaCloud\Client\Filter\Filter; |
15 | | -use AlibabaCloud\Client\Result\Result; |
16 | | -use Psr\Http\Message\ResponseInterface; |
17 | | -use GuzzleHttp\Promise\PromiseInterface; |
| 6 | +use AlibabaCloud\Client\Credentials\Providers\CredentialsProvider; |
| 7 | +use AlibabaCloud\Client\Encode; |
| 8 | +use AlibabaCloud\Client\Exception\ClientException; |
| 9 | +use AlibabaCloud\Client\Exception\ServerException; |
18 | 10 | use AlibabaCloud\Client\Filter\ApiFilter; |
19 | | -use AlibabaCloud\Client\Log\LogFormatter; |
20 | | -use AlibabaCloud\Client\Traits\HttpTrait; |
21 | | -use GuzzleHttp\Exception\GuzzleException; |
22 | | -use AlibabaCloud\Client\Filter\HttpFilter; |
23 | | -use AlibabaCloud\Client\Traits\RegionTrait; |
24 | 11 | use AlibabaCloud\Client\Filter\ClientFilter; |
| 12 | +use AlibabaCloud\Client\Filter\Filter; |
| 13 | +use AlibabaCloud\Client\Filter\HttpFilter; |
25 | 14 | use AlibabaCloud\Client\Request\Traits\AcsTrait; |
26 | | -use AlibabaCloud\Client\Traits\ArrayAccessTrait; |
27 | | -use AlibabaCloud\Client\Traits\ObjectAccessTrait; |
28 | | -use AlibabaCloud\Client\Request\Traits\RetryTrait; |
29 | | -use AlibabaCloud\Client\Exception\ClientException; |
30 | | -use AlibabaCloud\Client\Exception\ServerException; |
31 | 15 | use AlibabaCloud\Client\Request\Traits\ClientTrait; |
32 | 16 | use AlibabaCloud\Client\Request\Traits\DeprecatedTrait; |
33 | | -use AlibabaCloud\Client\Credentials\Providers\CredentialsProvider; |
| 17 | +use AlibabaCloud\Client\Request\Traits\RetryTrait; |
| 18 | +use AlibabaCloud\Client\Result\Result; |
| 19 | +use AlibabaCloud\Client\SDK; |
| 20 | +use AlibabaCloud\Client\Traits\ArrayAccessTrait; |
| 21 | +use AlibabaCloud\Client\Traits\HttpTrait; |
| 22 | +use AlibabaCloud\Client\Traits\ObjectAccessTrait; |
| 23 | +use AlibabaCloud\Client\Traits\RegionTrait; |
| 24 | +use ArrayAccess; |
| 25 | +use Exception; |
| 26 | +use GuzzleHttp\Client; |
| 27 | +use GuzzleHttp\Exception\GuzzleException; |
| 28 | +use GuzzleHttp\HandlerStack; |
| 29 | +use GuzzleHttp\MessageFormatter; |
| 30 | +use GuzzleHttp\Middleware; |
| 31 | +use GuzzleHttp\Promise\PromiseInterface; |
| 32 | +use GuzzleHttp\Psr7\Uri; |
| 33 | +use Psr\Http\Message\ResponseInterface; |
34 | 34 |
|
35 | 35 | /** |
36 | 36 | * Class Request |
@@ -382,7 +382,7 @@ public static function createClient(Request $request = null) |
382 | 382 | if (AlibabaCloud::getLogger()) { |
383 | 383 | $stack->push(Middleware::log( |
384 | 384 | AlibabaCloud::getLogger(), |
385 | | - new LogFormatter(AlibabaCloud::getLogFormat()) |
| 385 | + new MessageFormatter(AlibabaCloud::getLogFormat()) |
386 | 386 | )); |
387 | 387 | } |
388 | 388 |
|
|
0 commit comments