ProjectCollection.OnlyLogCriticalEvents 属性

定义

获取或设置一个值,该值指示是否仅记录关键事件,例如警告和错误。Gets or sets a value that indicates whether only critical events such as warnings and errors are logged.

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

属性值

true如果仅记录关键事件,例如警告和错误,否则为falsetrue if only critical events such as warnings and errors are logged; otherwise, false.

适用于