LoggerFilterOptions class

The options for a LoggerFilter.

Available extensions

Constructors

LoggerFilterOptions.new()
Creates a new LoggerFilterOptions instance.

Properties

captureScopes bool
Gets or sets value indicating whether logging scopes are being captured. Defaults to true
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
minLevel LogLevel?
Gets or sets the minimum level of log messages if none of the rules match.
getter/setter pair
rules List<LoggerFilterRule>
Gets the collection of LoggerFilterRule used for filtering log messages.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addFilter({String? category, LogLevel? level, CategoryLevelFilterAction? categoryLevelFilter, LevelFilterAction? levelFilter, MessageLoggerFilter? filter}) LoggerFilterOptions

Available on LoggerFilterOptions, provided by the LoggerFilterOptionsExtensions extension

Adds a log filter to the factory.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited