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 ) { 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) {