SentryLogStrategy constructor

SentryLogStrategy({
  1. LogLevel logLevel = LogLevel.none,
  2. List<LogEvent>? supportedEvents,
})

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.

Implementation

SentryLogStrategy({
  super.logLevel = LogLevel.none,
  super.supportedEvents,
});