<PackageReference Include="Microsoft.IdentityModel.Logging" Version="8.21.0" />

Microsoft.IdentityModel.Logging.NonPII

struct NonPII
An internal structure that is used to mark an argument as NonPII. Arguments wrapped with a NonPII structure will be considered as NonPII in the message logging process.
public object Argument { get; set; }

Argument wrapped with a NonPII structure is considered as NonPII in the message logging process.

public NonPII(object argument)

Creates an instance of NonPII that wraps the argument.