add On Breadcrumb
Add an "on breadcrumb" callback, to execute code before every breadcrumb captured by Bugsnag.
You can use this to modify breadcrumbs before they are stored by Bugsnag. You can also return false
from any callback to ignore a breadcrumb.
For example:
Bugsnag.onBreadcrumb(new OnBreadcrumbCallback() { public boolean run(Breadcrumb breadcrumb) { return false; // ignore the breadcrumb } })
Parameters
on Breadcrumb
a callback to run before a breadcrumb is captured