語言

LoggerContext.CaptureLogs 屬性

定義

取得或設定一個布林值,控制日誌是否寫入上下文中。 除錯時很有用。

public bool CaptureLogs { get; set; }
member this.CaptureLogs : bool with get, set
Public Property CaptureLogs As Boolean

屬性值

適用於