SentryLumberdash class
LumberdashClient
that sends your logs to Sentry.
Logs are captured as a Breadcrumb
and exceptions are captured
with Sentry.captureException
.
To use this client, Sentry must be initialized according to sentry-dart or sentry-flutter. This SentryLumberdash then uses the correct Sentry configuration.
Constructors
- SentryLumberdash({Hub? hub})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
logError(
dynamic exception, [dynamic stacktrace]) → void -
Sends a crash report (
exception
andstacktrace
) to Sentry -
logFatal(
String message, [Map< String, String> ? extras]) → void -
Sends a breadcrumb to Sentry with level
SentryLevel.fatal
-
logMessage(
String message, [Map< String, String> ? extras]) → void -
Sends a breadcrumb to Sentry with level
SentryLevel.info
-
logWarning(
String message, [Map< String, String> ? extras]) → void -
Sends a breadcrumb to Sentry with level
SentryLevel.warning
-
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