ObservabilityRedaction Delegate

Definition

Namespace Stunts
Assembly Stunts.Extensions.dll

Projects invocation arguments before ObservabilityBehavior logs or tags them.

public delegate void ObservabilityRedaction(IMethodInvocation invocation, ObservabilityArguments arguments);

Parameters

invocation
IMethodInvocation

The invocation whose arguments can be dropped or replaced.

arguments
ObservabilityArguments

The display projection. The target receives the original arguments.