-
public final class ErrorCaptureOptionsGranular flags for controlling data capture at notify time.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classErrorCaptureOptions.Companion
-
Field Summary
Fields Modifier and Type Field Description private Booleanbreadcrumbsprivate BooleanfeatureFlagsprivate Booleanstacktraceprivate Booleanthreadsprivate Booleanuserprivate Set<String>metadata
-
Constructor Summary
Constructors Constructor Description ErrorCaptureOptions()Create a CaptureOptions with all of the default capturing behaviour (capture everything). ErrorCaptureOptions(Boolean breadcrumbs, Boolean featureFlags, Boolean stacktrace, Boolean threads, Boolean user, Set<String> metadata)
-
Method Summary
Modifier and Type Method Description final BooleangetBreadcrumbs()Whether to capture breadcrumbs. final UnitsetBreadcrumbs(Boolean breadcrumbs)Whether to capture breadcrumbs. final BooleangetFeatureFlags()Whether to capture feature flags. final UnitsetFeatureFlags(Boolean featureFlags)Whether to capture feature flags. final BooleangetStacktrace()Whether to capture stacktrace. final UnitsetStacktrace(Boolean stacktrace)Whether to capture stacktrace. final BooleangetThreads()Whether to capture thread state. final UnitsetThreads(Boolean threads)Whether to capture thread state. final BooleangetUser()Whether to capture user information. final UnitsetUser(Boolean user)Whether to capture user information. final Set<String>getMetadata()Controls which custom metadata tabs are included. final UnitsetMetadata(Set<String> metadata)Controls which custom metadata tabs are included. -
-
Method Detail
-
getBreadcrumbs
final Boolean getBreadcrumbs()
Whether to capture breadcrumbs. Defaults to true.
-
setBreadcrumbs
final Unit setBreadcrumbs(Boolean breadcrumbs)
Whether to capture breadcrumbs. Defaults to true.
-
getFeatureFlags
final Boolean getFeatureFlags()
Whether to capture feature flags. Defaults to true.
-
setFeatureFlags
final Unit setFeatureFlags(Boolean featureFlags)
Whether to capture feature flags. Defaults to true.
-
getStacktrace
final Boolean getStacktrace()
Whether to capture stacktrace. Defaults to true.
-
setStacktrace
final Unit setStacktrace(Boolean stacktrace)
Whether to capture stacktrace. Defaults to true.
-
getThreads
final Boolean getThreads()
Whether to capture thread state. Defaults to true.
-
setThreads
final Unit setThreads(Boolean threads)
Whether to capture thread state. Defaults to true.
-
getMetadata
final Set<String> getMetadata()
Controls which custom metadata tabs are included.
null: all metadata tabs captured
empty set: no custom metadata captured
set of names: app, device, and specified tabs captured
Note: app and device tabs are always captured.
-
setMetadata
final Unit setMetadata(Set<String> metadata)
Controls which custom metadata tabs are included.
null: all metadata tabs captured
empty set: no custom metadata captured
set of names: app, device, and specified tabs captured
Note: app and device tabs are always captured.
-
-
-
-