| 程序包 | 说明 |
|---|---|
| com.aliyun.openservices.sls | |
| com.aliyun.openservices.sls.common | |
| com.aliyun.openservices.sls.request |
| 限定符和类型 | 方法和说明 |
|---|---|
PutLogsResponse |
SLSClient.PutLogs(String project,
String logStore,
String topic,
List<LogItem> logItems,
String source) |
PutLogsResponse |
SimpleLogService.PutLogs(String project,
String logStore,
String topic,
List<LogItem> logItems,
String source)
Send Data to sls server
|
| 限定符和类型 | 字段和说明 |
|---|---|
LogItem |
QueriedLog.mLogItem |
| 限定符和类型 | 方法和说明 |
|---|---|
LogItem |
QueriedLog.GetLogItem()
Return the log item content
|
| 构造器和说明 |
|---|
QueriedLog(String source,
LogItem logItem)
Construct a logItem, the log time is set according to the sys time
|
| 限定符和类型 | 方法和说明 |
|---|---|
ArrayList<LogItem> |
PutLogsRequest.GetLogItems()
Get all the log data
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
PutLogsRequest.SetlogItems(List<LogItem> logItems)
Set the log data , shallow copy is used to set the log data
|
| 构造器和说明 |
|---|
PutLogsRequest(String project,
String logStore,
String topic,
List<LogItem> logItems)
Construct a put log request
|
PutLogsRequest(String project,
String logStore,
String topic,
String source,
List<LogItem> logItems)
Construct a put log request
|
Copyright © 2015. All Rights Reserved.