leaveBreadcrumb method

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

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

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