SentryLogStrategy constructor
SentryLogStrategy({})
Constructs a SentryLogStrategy.
logLevel sets the log level at which this strategy becomes active.
supportedEvents optionally specifies which types of LogEvent this strategy should handle.
useIsolate whether to use isolates for context serialization.
Defaults to TRUE because context can contain heavy data.
Implementation
SentryLogStrategy({
super.logLevel = LogLevel.none,
super.supportedEvents,
bool useIsolate = true, // Default: TRUE (context serialization can be heavy)
}) : super(useIsolate: useIsolate);