dart-sdk/pkg/telemetry
Devon Carew 8d6ad53c7e [pkg/analysis_server] remove use of package:usage
Change-Id: I3a18670b6131f4e8c445217f1b302e64a74f591c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/365489
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Devon Carew <devoncarew@google.com>
2024-05-07 22:11:29 +00:00
..
lib [pkg/analysis_server] remove use of package:usage 2024-05-07 22:11:29 +00:00
test [pkg/analysis_server] remove use of package:usage 2024-05-07 22:11:29 +00:00
analysis_options.yaml [pkg] use package:lints when analying pkg/ 2022-07-07 14:29:22 +00:00
LICENSE Update LICENSE 2021-04-07 10:28:38 +00:00
OWNERS [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
pubspec.yaml [pkg/analysis_server] remove use of package:usage 2024-05-07 22:11:29 +00:00
README.md [pkg/analysis_server] remove use of package:usage 2024-05-07 22:11:29 +00:00

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);
  }
}