import 'package:raven_dart/raven_dart.dart';
main() {
var dsn = 'https://b70a31b3510c4cf793964a185cfe1fd0:[email protected]/1';
// initialize the client with your DSN
var client = new RavenClient(dsn);
// captures a message as an info event
client.captureMessage("test");
try {
throw new Exception("test exception");
} catch (exn, stacktrace) {
// captures exception with stacktrace as an error event
client.captureException(exn, stacktrace);
}
}
- Download
- API doc (coming soon)
- Bug Tracker
- Follow @theburningmonk on Twitter for updates