共用方式為


FakeLogCollectorOptions.CollectRecordsForDisabledLogLevels Property

Definition

Gets or sets a value indicating whether to collect records that are logged when the associated log level is currently disabled.

public:
 property bool CollectRecordsForDisabledLogLevels { bool get(); void set(bool value); };
public bool CollectRecordsForDisabledLogLevels { get; set; }
member this.CollectRecordsForDisabledLogLevels : bool with get, set
Public Property CollectRecordsForDisabledLogLevels As Boolean

Property Value

true if records that are logged when the associated log level is disabled are collected. The default is true.

Applies to