rollbar_dart 1.3.2 copy "rollbar_dart: ^1.3.2" to clipboard
rollbar_dart: ^1.3.2 copied to clipboard

Connect your Dart applications to Rollbar for error reporting.

rollbar-dart #

Dart notifier for reporting exceptions, errors and log messages to Rollbar.

This is a Dart-only implementation providing core notifier features. If you're building a Flutter application you should use rollbar-flutter instead, which adds Flutter-specific features to the core functionality of this library.

rollbar-dart is currently in Beta. We are looking for beta-testers and feedback #

Usage #

A simple usage example:

import 'package:rollbar_dart/rollbar.dart';

void main() async {
    final config = Config(
    accessToken: 'YOUR-ROLLBAR-ACCESSTOKEN',
    package: 'rollbar_dart_example',
  );

  await Rollbar.run(config);

  try {
    throw ArgumentError('An error occurred in the dart example app.');
  } catch (error, stackTrace) {
    await Rollbar.error(error, stackTrace);
  }
}

See the example directory for a complete example.

Documentation #

For complete usage instructions and configuration reference, see our rollbar-dart SDK docs.

Release History & Changelog #

See our Releases page for a list of all releases and changes.

Help / Support #

If you run into any issues, please email us at support@rollbar.com.

For bug reports, please open an issue on GitHub.

License #

rollbar-dart is free software released under the MIT License. See LICENSE for details.

2
likes
150
points
708
downloads

Publisher

verified publisherrollbar.com

Weekly Downloads

Connect your Dart applications to Rollbar for error reporting.

Homepage
Repository (GitHub)

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

collection, http, meta, rollbar_common, sqlite3, stack_trace

More

Packages that depend on rollbar_dart