sentry_talker 1.0.0+1
sentry_talker: ^1.0.0+1 copied to clipboard
An integration which adds support for recording log from the talker package.
Sentry integration for talker
package #
package | license | pub | likes | popularity | pub points |
---|---|---|---|---|---|
sentry_talker |
Integration for the talker
package.
Usage
-
Sign up for a Sentry.io account and get a DSN at https://sentry.io.
-
Follow the installing instructions on pub.dev.
-
Initialize the Sentry SDK using the DSN issued by Sentry.io and add the
TalkerIntegration
import 'package:sentry/sentry.dart';
import 'package:sentry_talker/sentry_talker.dart';
Future<void> main() async {
await Sentry.init(
(options) {
options.dsn = 'https://example@sentry.io/example';
options.addIntegration(TalkerIntegration());
},
appRunner: initApp, // Init your App.
);
}
void initApp() {
// your app code
}