public interface ISentryClient
Modifier and Type | Method and Description |
---|---|
default SentryId |
captureEvent(SentryEvent event) |
default SentryId |
captureEvent(SentryEvent event,
@Nullable java.lang.Object hint) |
default SentryId |
captureEvent(SentryEvent event,
@Nullable Scope scope) |
SentryId |
captureEvent(SentryEvent event,
@Nullable Scope scope,
@Nullable java.lang.Object hint) |
default SentryId |
captureException(java.lang.Throwable throwable) |
default SentryId |
captureException(java.lang.Throwable throwable,
@Nullable java.lang.Object hint) |
default SentryId |
captureException(java.lang.Throwable throwable,
@Nullable Scope scope) |
default SentryId |
captureException(java.lang.Throwable throwable,
@Nullable Scope scope,
@Nullable java.lang.Object hint) |
default SentryId |
captureMessage(java.lang.String message,
SentryLevel level) |
default SentryId |
captureMessage(java.lang.String message,
SentryLevel level,
@Nullable Scope scope) |
void |
close() |
void |
flush(long timeoutMills) |
boolean |
isEnabled() |
boolean isEnabled()
SentryId captureEvent(SentryEvent event, @Nullable @Nullable Scope scope, @Nullable @Nullable java.lang.Object hint)
void close()
void flush(long timeoutMills)
default SentryId captureEvent(SentryEvent event)
default SentryId captureEvent(SentryEvent event, @Nullable @Nullable Scope scope)
default SentryId captureEvent(SentryEvent event, @Nullable @Nullable java.lang.Object hint)
default SentryId captureMessage(java.lang.String message, SentryLevel level, @Nullable @Nullable Scope scope)
default SentryId captureMessage(java.lang.String message, SentryLevel level)
default SentryId captureException(java.lang.Throwable throwable)
default SentryId captureException(java.lang.Throwable throwable, @Nullable @Nullable Scope scope, @Nullable @Nullable java.lang.Object hint)
default SentryId captureException(java.lang.Throwable throwable, @Nullable @Nullable java.lang.Object hint)