LoggerContext.CaptureLogs 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 a boolean controlling if logs are written into the context. Useful when debugging.
public bool CaptureLogs { get; set; }
member this.CaptureLogs : bool with get, set
Public Property CaptureLogs As Boolean