次の方法で共有


LogHelper.MarkAsNonPII(Object) Method

Definition

Marks a log message argument (arg) as NonPII.

public static object MarkAsNonPII (object arg);
static member MarkAsNonPII : obj -> obj
Public Shared Function MarkAsNonPII (arg As Object) As Object

Parameters

arg
Object

A log message argument to be marked as NonPII.

Returns

An argument marked as NonPII.

Remarks

Marking an argument as NonPII in FormatInvariant(String, Object[]) calls will result in logging that argument in cleartext, regardless of the ShowPII flag value.

Applies to