-
public class ErrorCaptureOptions.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegerCAPTURE_STACKTRACEprivate final IntegerCAPTURE_BREADCRUMBSprivate final IntegerCAPTURE_FEATURE_FLAGSprivate final IntegerCAPTURE_THREADSprivate final IntegerCAPTURE_USERprivate final IntegerCAPTURE_ALLpublic final static ErrorCaptureOptions.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final ErrorCaptureOptionscaptureOnly(Integer fields, Set<String> metadata)A convenience method to capture only selected event fields using a bit-mask of field names (a mask of CAPTURE_STACKTRACE, CAPTURE_BREADCRUMBS, etc.). final ErrorCaptureOptionscaptureOnly(Integer fields)A convenience method to capture only selected event fields using a bit-mask of field names (a mask of CAPTURE_STACKTRACE, CAPTURE_BREADCRUMBS, etc.). final ErrorCaptureOptionscaptureNothing()Return CaptureOptions that will not capture any optional fields. final IntegergetCAPTURE_STACKTRACE()final IntegergetCAPTURE_BREADCRUMBS()final IntegergetCAPTURE_FEATURE_FLAGS()final IntegergetCAPTURE_THREADS()final IntegergetCAPTURE_USER()final IntegergetCAPTURE_ALL()-
-
Method Detail
-
captureOnly
@JvmOverloads() final ErrorCaptureOptions captureOnly(Integer fields, Set<String> metadata)
A convenience method to capture only selected event fields using a bit-mask of field names (a mask of CAPTURE_STACKTRACE, CAPTURE_BREADCRUMBS, etc.).
- Parameters:
fields- a bit mask of the fields to capturemetadata- the metadata tabs to capture (ornullto capture all)
-
captureOnly
@JvmOverloads() final ErrorCaptureOptions captureOnly(Integer fields)
A convenience method to capture only selected event fields using a bit-mask of field names (a mask of CAPTURE_STACKTRACE, CAPTURE_BREADCRUMBS, etc.).
- Parameters:
fields- a bit mask of the fields to capture
-
captureNothing
final ErrorCaptureOptions captureNothing()
Return CaptureOptions that will not capture any optional fields.
-
getCAPTURE_STACKTRACE
final Integer getCAPTURE_STACKTRACE()
-
getCAPTURE_BREADCRUMBS
final Integer getCAPTURE_BREADCRUMBS()
-
getCAPTURE_FEATURE_FLAGS
final Integer getCAPTURE_FEATURE_FLAGS()
-
getCAPTURE_THREADS
final Integer getCAPTURE_THREADS()
-
getCAPTURE_USER
final Integer getCAPTURE_USER()
-
getCAPTURE_ALL
final Integer getCAPTURE_ALL()
-
-
-
-