Increase breadcrumb name lenght
benoitdion opened this issue · 2 comments
benoitdion commented
Description
Breadcrumb name length is currently limited to 30 characters (https://github.com/bugsnag/bugsnag-unity/blob/master/src/BugsnagUnity/Payload/Breadcrumb.cs#L12). Is there plan to increase that limit like on other platforms (bugsnag/bugsnag-react-native#417 (comment))?
xljones commented
👋. hey @benoitdion. Yes, we do plan to remove the 30 character limit on the breadcrumb name. However, in the meantime the metadata fields within the breadcrumb don't have this limit. So, instead of:
Bugsnag.LeaveBreadcrumb("This is a really long breadcrumb name that will break the 30 character limit");
you could use something like:
Bugsnag.LeaveBreadcrumb(
"Log message",
BreadcrumbType.Manual,
new Dictionary<string, string>() {{ "message", "This is a really long breadcrumb metadata element that will won't break the 30 character limit" }}
);
https://docs.bugsnag.com/platforms/unity/#logging-breadcrumbs
yousif-bugsnag commented