ConsoleLogStrategy constructor

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

Constructs a ConsoleLogStrategy.

logLevel sets the log level at which this strategy becomes active. supportedEvents optionally specifies which types of LogEvent this strategy should handle.

Implementation

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