-
-
Notifications
You must be signed in to change notification settings - Fork 229
Closed
Labels
FeatureNew feature or requestNew feature or request
Description
In our usage we have a library that only contains calls to the static capture methods, thus relying on the consuming application to init the SDK before calling library functions. It would be useful to add event processors (AddEventProcessor) outside of the init method for this purpose. As an example:
Console program:
using (SentrySdk.Init(o =>
{
o.Dsn = new Dsn("<url>");
}))
{
Library.LibraryFunction();
}Library:
void LibraryFunction()
{
SentrySdk.AddEventProcessor(new MySentryEventProcessor());
SentrySdk.CaptureMessage("Action");
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
FeatureNew feature or requestNew feature or request