次の方法で共有


LogHelper.MarkAsUnsafeSecurityArtifact Method

Definition

Marks a log message argument (arg) as SecurityArtifact.

public static object MarkAsUnsafeSecurityArtifact (object arg, Func<object,string> callbackUnsafe);
static member MarkAsUnsafeSecurityArtifact : obj * Func<obj, string> -> obj
Public Shared Function MarkAsUnsafeSecurityArtifact (arg As Object, callbackUnsafe As Func(Of Object, String)) As Object

Parameters

arg
Object

A log message argument to be marked as SecurityArtifact.

callbackUnsafe
Func<Object,String>

A callback function to log the security artifact without scrubbing.

Returns

An argument marked as SecurityArtifact.

Exceptions

if callbackUnsafe is null.

Applies to