Integration that integrates CBL Dart with Sentry.
CBL Dart emits log messages that can be used to record Sentry breadcrumbs.
Messages at breadcrumbLogLevel level or higher will be recorded as
LogLevel.none disables all recording of logging breadcrumbs.
The default is
This integration configures
Database.log.custom to use a
BreadcrumbLogger, which can also be used by itself.
CBL Dart has support for tracing of operations through the
API. This integration configures a
TracingDelegate to record Sentry
breadcrumbs and transaction spans for
TracedOperations that signify a direct interaction with the CBL Dart
API a breadcrumb is recorded at their start. This means that internal
operations are not recorded as breadcrumbs.
Recording of these types of breadcrumbs is enabled by default and can be
disabled by setting operationBreadcrumbs to
Sentry transaction spans for
TracedOperations are recorded if a parent
span is available though
Sentry.getSpan or cblSentrySpan, when the
operation is executed.
Tracing of operations is by default enabled if Sentry has been configured for tracing. This can be overridden by setting tracingEnabled.
Whether or not internal operations are traced is controlled by the
traceInternalOperations option (defaults to
The log level at which Couchbase Lite logs are added as Sentry
- hashCode → int
The hash code for this object.
- operationBreadcrumbs → bool
Whether to record breadcrumbs for direct interactions with the CBL Dart
- runtimeType → Type
A representation of the runtime type of the object.
- traceInternalOperations → bool
Whether to trace internal operations.
- tracingEnabled → bool?
Whether tracing of Couchbase Lite operations is enabled.
Hub hub, SentryOptions options) → FutureOr< void>
- A Callable method for the Integration interface
) → FutureOr< void>
- NoOp by default : only closeable integrations need to override
Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
) → String
A string representation of this object.