tree: 9b297998160b14f09955a12000898e2d903f88fd [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);
  }
}