FakeLogCollectorOptions.FilteredLevels Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the logging levels for which records are collected.
public:
property System::Collections::Generic::ISet<Microsoft::Extensions::Logging::LogLevel> ^ FilteredLevels { System::Collections::Generic::ISet<Microsoft::Extensions::Logging::LogLevel> ^ get(); void set(System::Collections::Generic::ISet<Microsoft::Extensions::Logging::LogLevel> ^ value); };
public System.Collections.Generic.ISet<Microsoft.Extensions.Logging.LogLevel> FilteredLevels { get; set; }
member this.FilteredLevels : System.Collections.Generic.ISet<Microsoft.Extensions.Logging.LogLevel> with get, set
Public Property FilteredLevels As ISet(Of LogLevel)
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 with the given level will be collected by the fake logger.
Applies to
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.