tree: 455284ee1ea2f44aa7bc25949e67f7f4513a42a9 [path history] [tgz]
  1. lib/
  2. test/
  3. analysis_options.yaml
  4. LICENSE
  5. OWNERS
  6. pubspec.yaml
  7. README.md
pkg/telemetry/README.md

telemetry

A library to facilitate reporting crash reports.

Crash reporting

To use the crash reporting functionality, import crash_reporting.dart, and create a new CrashReportSender instance:

import 'package:telemetry/crash_reporting.dart';

void main() {
  Analytics analytics = ...;
  CrashReportSender sender = new CrashReportSender.prod(...);

  try {
    ...
  } catch (e, st) {
    sender.sendReport(e, st);
  }
}