LoggerConfiguration.IsPiiAllowed Property

Definition

Whether to allow PII in the logs (default is true). Set to true to allow Pii in logs. Set to false to mask Pii.

public bool IsPiiAllowed { get; }
member this.IsPiiAllowed : bool
Public ReadOnly Property IsPiiAllowed As Boolean

Property Value

Applies to