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