Interface IScopeOptions
Options used by BaseScope
Namespace: Sentry.Protocol
Assembly: Sentry.Protocol.dll
Syntax
public interface IScopeOptions
Properties
| Improve this Doc View SourceBeforeBreadcrumb
Invoked before storing a new breadcrumb
Declaration
Func<Breadcrumb, Breadcrumb> BeforeBreadcrumb { get; }
Property Value
Type | Description |
---|---|
Func<Breadcrumb, Breadcrumb> |
Remarks
Allows the callback handler access to a breadcrumb and allows modification or totally dropping the breadcrumb by returning null.
MaxBreadcrumbs
Gets or sets the maximum breadcrumbs.
Declaration
int MaxBreadcrumbs { get; }
Property Value
Type | Description |
---|---|
Int32 | The maximum breadcrumbs per scope. |
Remarks
When the number of events reach this configuration value, older breadcrumbs start dropping to make room for new ones.