Aliyun_Sls_Models_LogItem used to present a log, it contains log time and multiple key/value pairs to present the log contents.
author | sls_dev |
---|---|
package | SLS_PHP_SDK |
__construct(integer $time= null
, array $contents= null
)
integer
time of the log item, the default time if the now time.
array
the data of the log item, including many key/value pairs.
getContents() : array
array
log contentsgetTime() : integer
integer
log timepushBack(string $key, string $value)
string
log content key
string
log content value
setContents(array $contents)
array
log contents
setTime(integer $time)
integer
log time