public interface IHub
Modifier and Type | Method and Description |
---|---|
default void |
addBreadcrumb(Breadcrumb breadcrumb) |
void |
addBreadcrumb(Breadcrumb breadcrumb,
@Nullable java.lang.Object hint) |
void |
bindClient(ISentryClient client) |
default SentryId |
captureEvent(SentryEvent event) |
SentryId |
captureEvent(SentryEvent event,
@Nullable java.lang.Object hint) |
default SentryId |
captureException(java.lang.Throwable throwable) |
SentryId |
captureException(java.lang.Throwable throwable,
@Nullable java.lang.Object hint) |
default SentryId |
captureMessage(java.lang.String message) |
SentryId |
captureMessage(java.lang.String message,
SentryLevel level) |
void |
clearBreadcrumbs() |
IHub |
clone() |
void |
close() |
void |
configureScope(ScopeCallback callback) |
void |
flush(long timeoutMills) |
SentryId |
getLastEventId() |
boolean |
isEnabled() |
void |
popScope() |
void |
pushScope() |
void |
setExtra(java.lang.String key,
java.lang.String value) |
void |
setFingerprint(java.util.List<java.lang.String> fingerprint) |
void |
setLevel(SentryLevel level) |
void |
setTag(java.lang.String key,
java.lang.String value) |
void |
setTransaction(java.lang.String transaction) |
void |
setUser(User user) |
void |
withScope(ScopeCallback callback) |
boolean isEnabled()
SentryId captureEvent(SentryEvent event, @Nullable @Nullable java.lang.Object hint)
default SentryId captureEvent(SentryEvent event)
default SentryId captureMessage(java.lang.String message)
SentryId captureMessage(java.lang.String message, SentryLevel level)
SentryId captureException(java.lang.Throwable throwable, @Nullable @Nullable java.lang.Object hint)
default SentryId captureException(java.lang.Throwable throwable)
void close()
void addBreadcrumb(Breadcrumb breadcrumb, @Nullable @Nullable java.lang.Object hint)
default void addBreadcrumb(Breadcrumb breadcrumb)
void setLevel(SentryLevel level)
void setTransaction(java.lang.String transaction)
void setUser(User user)
void setFingerprint(java.util.List<java.lang.String> fingerprint)
void clearBreadcrumbs()
void setTag(java.lang.String key, java.lang.String value)
void setExtra(java.lang.String key, java.lang.String value)
SentryId getLastEventId()
void pushScope()
void popScope()
void withScope(ScopeCallback callback)
void configureScope(ScopeCallback callback)
void bindClient(ISentryClient client)
void flush(long timeoutMills)
IHub clone()