Aliyun_Log_Models_LogItem used to present a log, it contains log time and multiple key/value pairs to present the log contents.
| author |
log service dev |
|---|---|
| package |
LOG_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 contents
getTime() : integer
integerlog time
pushBack(string $key, string $value)
stringlog content key
stringlog content value
setContents(array $contents)
arraylog contents
setTime(integer $time)
integerlog time
time : integer
| var |
time of the log item, the default time if the now time. |
|---|
integer
contents : array
| var |
the data of the log item, including many key/value pairs. |
|---|
array