raven_dart 0.1.1 copy "raven_dart: ^0.1.1" to clipboard
raven_dart: ^0.1.1 copied to clipboard

Dart 1 only

Dart client for Sentry (https://www.getsentry.com)

Basic Usage #

import 'package:raven_dart/raven_dart.dart';

main() {
  var dsn    = 'https://b70a31b3510c4cf793964a185cfe1fd0:b7d80b520139450f903720eb7991bf3d@example.com/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);
  }
}

Resources #

0
likes
5
pub points
19%
popularity

Publisher

unverified uploader

Dart client for Sentry (https://www.getsentry.com)

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

http, uuid

More

Packages that depend on raven_dart