Dela via


LoggerEnrichmentOptions.UseFileInfoForStackTraces Property

Definition

Gets or sets a value indicating whether to consult debugging files (PDB files) when producing stack traces.

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

Property Value

The default value is false.

Remarks

Reading available debugging files produces richer stack traces, but can cost a substantial amount of time to generate. As a result, this option should only be turned on in development scenarios, not for production use.

This property has no effect if CaptureStackTraces is false.

This defaults to false.

Applies to