編集

Share via


FakeLogCollectorOptions.FilteredCategories Property

Definition

Gets or sets the logger categories for which records are collected.

public:
 property System::Collections::Generic::ISet<System::String ^> ^ FilteredCategories { System::Collections::Generic::ISet<System::String ^> ^ get(); void set(System::Collections::Generic::ISet<System::String ^> ^ value); };
public System.Collections.Generic.ISet<string> FilteredCategories { get; set; }
member this.FilteredCategories : System.Collections.Generic.ISet<string> with get, set
Public Property FilteredCategories As ISet(Of String)

Property Value

The default is an empty set.

Remarks

Defaults to an empty set, which doesn't filter any records. If not empty, only records coming from loggers in these categories will be collected by the fake logger.

Applies to