public class Event extends Object implements JsonSerializable
| 限定符和类型 | 方法和说明 |
|---|---|
Map<String,Object> |
asJson() |
void |
notify(String name,
String message) |
void |
notifyError(Thread t,
Throwable e) |
void |
notifyError(Throwable e) |
void |
print() |
void |
sendToFundebug() |
void |
setApiKey(String apiKey) |
void |
setAppVersion(String appVersion) |
void |
setFilters(List<Map<String,String>> filters) |
void |
setMetaData(Map<String,Object> metaData) |
void |
setReleaseStage(String releaseStage) |
void |
setSilent(Boolean silent) |
void |
setStrackTrace(Throwable e) |
void |
setThreadName(Thread t) |
String |
toJson() |
public Event()
public Event(String apiKey)
public void setApiKey(String apiKey)
public void setAppVersion(String appVersion)
public void setReleaseStage(String releaseStage)
public void notifyError(Throwable e)
public void print()
public void setThreadName(Thread t)
public void setStrackTrace(Throwable e)
public void setSilent(Boolean silent)
public void sendToFundebug()
throws IOException
IOExceptionpublic String toJson()
public Map<String,Object> asJson()
asJson 在接口中 JsonSerializableCopyright © 2019. All rights reserved.