BreadcrumbLogger class final
A Logger
that adds a Sentry Breadcrumb
for each log message.
This logger will add breadcrumbs of type debug
, whose level corresponds to
a Couchbase Lite LogLevel
.
The LogDomain
is used to build the category of the breadcrumb by prefixing
it with cbl.
. For example, full category for a log message from the
LogDomain.database
domain is cbl.database
.
Constructors
- BreadcrumbLogger({LogLevel? level, Hub? hub})
-
Creates a
Logger
that adds a SentryBreadcrumb
for each log message.
Properties
Methods
-
log(
LogLevel level, LogDomain domain, String message) → void - The callback which is invoked for each log message.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited