leaveBreadcrumb abstract method

Future<void> leaveBreadcrumb(
  1. String message, {
  2. Map<String, Object>? metadata,
  3. BugsnagBreadcrumbType type = BugsnagBreadcrumbType.manual,
})

Leave a "breadcrumb" log message, representing an action that occurred in your app, to aid with debugging.

message is a short label to identify the action that occurred, while metadata can contain useful information associated with the action.

See also:

Implementation

Future<void> leaveBreadcrumb(
  String message, {
  Map<String, Object>? metadata,
  BugsnagBreadcrumbType type = BugsnagBreadcrumbType.manual,
});