LoggerConfiguration.IsPiiAllowed 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.
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