LogStrategy constructor

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

Constructs a LogStrategy.

loggerLogLevel - The log level of the logger. Defaults to LogLevel.none. logLevel - The minimum log level that this strategy will handle. Defaults to LogLevel.none. supportedEvents - Optional. Specifies the events that are explicitly supported by this strategy.

Implementation

LogStrategy({
  this.loggerLogLevel = LogLevel.none,
  this.logLevel = LogLevel.none,
  this.supportedEvents,
});