<PackageReference Include="NLog" Version="6.1.2" />

NLog.Targets.Wrappers.PostFilteringTargetWrapper

Filters buffered log entries based on a set of conditions that are evaluated on a group of events.
public ConditionExpression DefaultFilter { get; set; }

Gets or sets the default filter to be applied when no specific rule matches.

public IList<FilteringRule> Rules { get; }

Gets the collection of filtering rules. The rules are processed top-down and the first rule that matches determines the filtering condition to be applied to log events.

Initializes a new instance of the PostFilteringTargetWrapper class.

public PostFilteringTargetWrapper(Target wrappedTarget)

Initializes a new instance of the PostFilteringTargetWrapper class.

public PostFilteringTargetWrapper(string name, Target wrappedTarget)

Initializes a new instance of the PostFilteringTargetWrapper class.