Sentry Transport for Crispin
Using Sentry
Features
Sentry Level | Crispin Method |
---|---|
debug | debug |
info | info |
error | error |
warning | warn |
silly | silly |
silly
level, since it doesn't exist in Sentry
default levels, we created one use fromName
method.
Getting started
- Install
flutter pub add sentry_crispin_transport
ordart pub add sentry_crispin_transport
- Add the transport to Crispin as the below Usage section shows
Usage
import 'package:crispin/crispin.dart';
import 'package:sentry_crispin_transport/src/sentry_crispin_transport.dart';
void main() {
Crispin().addTransport(
SentryCrispinTransport(
SentryCrispinTransportOptions(level: 'error'),
),
);
}
Please see /example
folder and docs for more examples and please see the docs for more information on usage.
How To Contribute
- Create Github issue describing what you'd like to change and use the label
Sentry Transport
and label eitherbug
,enhancement
,question
- Create your PR with association to the GH Issue (e.g. "closes #4").
Support
Create Github issue with the label [Sentry Transport
](https://github.com/DelveFore/crispin/labels/Sentry%20Transport and then either bug
, enhancement
, question
.