The QueriedLog is a log of the Aliyun_Sls_Models_GetLogsResponse which obtained from the sls.

author sls_dev
package SLS_PHP_SDK

 Methods

Aliyun_Sls_Models_QueriedLog constructor

__construct(integer $time, string $source, array $contents) 

Parameters

$time

integer

log time stamp

$source

string

log source

$contents

array

log contents, content many key/value pair

Get log contents, content many key/value pair.

getContents() : array

Returns

arraylog contents

Get log source

getSource() : string

Returns

stringlog source

Get log time

getTime() : integer

Returns

integerlog time

 Properties

 

log contents, content many key/value pair

$contents : array

Default

 

log source

$source : string

Default

 

log timestamp

$time : integer

Default