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) |
SentryId |
captureMessage(java.lang.String message) |
IHub |
clone() |
void |
close() |
void |
configureScope(ScopeCallback callback) |
void |
flush(long timeoutMills) |
SentryId |
getLastEventId() |
boolean |
isEnabled() |
void |
popScope() |
void |
pushScope() |
void |
withScope(ScopeCallback callback) |
boolean isEnabled()
SentryId captureEvent(SentryEvent event, @Nullable @Nullable java.lang.Object hint)
default SentryId captureEvent(SentryEvent event)
SentryId captureMessage(java.lang.String message)
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)
SentryId getLastEventId()
void pushScope()
void popScope()
void withScope(ScopeCallback callback)
void configureScope(ScopeCallback callback)
void bindClient(ISentryClient client)
void flush(long timeoutMills)
IHub clone()