mirror of
https://github.com/awslabs/aws-crt-php.git
synced 2026-08-18 01:57:13 +00:00
log
This commit is contained in:
@@ -11,6 +11,7 @@ use AWS\CRT\Auth\Signing;
|
|||||||
use AWS\CRT\Auth\Signable;
|
use AWS\CRT\Auth\Signable;
|
||||||
use AWS\CRT\Auth\StaticCredentialsProvider;
|
use AWS\CRT\Auth\StaticCredentialsProvider;
|
||||||
use AWS\CRT\HTTP\Request;
|
use AWS\CRT\HTTP\Request;
|
||||||
|
use AWS\CRT\Log;
|
||||||
|
|
||||||
require_once('common.inc');
|
require_once('common.inc');
|
||||||
|
|
||||||
@@ -65,6 +66,8 @@ final class SigningTest extends CrtTestCase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function testShouldSignHeader() {
|
public function testShouldSignHeader() {
|
||||||
|
Log::setLogLevel(Log::TRACE);
|
||||||
|
Log::toStdout();
|
||||||
$credentials_provider = new StaticCredentialsProvider([
|
$credentials_provider = new StaticCredentialsProvider([
|
||||||
'access_key_id' => self::SIGV4TEST_ACCESS_KEY_ID,
|
'access_key_id' => self::SIGV4TEST_ACCESS_KEY_ID,
|
||||||
'secret_access_key' => self::SIGV4TEST_SECRET_ACCESS_KEY,
|
'secret_access_key' => self::SIGV4TEST_SECRET_ACCESS_KEY,
|
||||||
|
|||||||
Reference in New Issue
Block a user