From 97d68718d897198814f8cdb0a3f22f3973f24afa Mon Sep 17 00:00:00 2001 From: whyiug Date: Tue, 10 Jul 2018 16:40:37 +0800 Subject: [PATCH 1/2] Update Client.php new log => new Aliyun_Log --- Aliyun/Log/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Aliyun/Log/Client.php b/Aliyun/Log/Client.php index 3602b78..d240231 100644 --- a/Aliyun/Log/Client.php +++ b/Aliyun/Log/Client.php @@ -242,7 +242,7 @@ public function putLogs(Aliyun_Log_Models_PutLogsRequest $request) { $logGroup->setSource ( $source ); $logitems = $request->getLogitems (); foreach ( $logitems as $logItem ) { - $log = new Log (); + $log = new Aliyun_Log (); $log->setTime ( $logItem->getTime () ); $content = $logItem->getContents (); foreach ( $content as $key => $value ) { From 30a7bcdbbdd572fa28d1937bb0a433acb907ac4f Mon Sep 17 00:00:00 2001 From: whyiug Date: Tue, 10 Jul 2018 16:41:51 +0800 Subject: [PATCH 2/2] Update sls.proto.php class Log => class Aliyun_Log --- Aliyun/Log/sls.proto.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Aliyun/Log/sls.proto.php b/Aliyun/Log/sls.proto.php index 84e8189..5dfee2c 100644 --- a/Aliyun/Log/sls.proto.php +++ b/Aliyun/Log/sls.proto.php @@ -126,7 +126,7 @@ public function setValue($value) { $this->value_ = $value; } } // message Log -class Log { +class Aliyun_Log { private $_unknown; function __construct($in = NULL, &$limit = PHP_INT_MAX) {