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)
integertime of the log item, the default time if the now time.
arraythe data of the log item, including many key/value pairs.
getContents() : array
arraylog contentsgetTime() : integer
integerlog timepushBack(string $key, string $value)
stringlog content key
stringlog content value
setContents(array $contents)
arraylog contents
setTime(integer $time)
integerlog time
$contents : array
$time : integer