PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​CustomCustom­Log­Parameter­Mode
Open sandboxFocus

CustomLogParameterMode Class

Determines how a parameter of a custom record should be rendered by the WriteCustomParameter<T>(Int32, in CharSpan, T, in CustomLogParameterOptions) method.

Inheritance
System.Object
CustomLogParameterMode
Namespace: PostSharp.Patterns.Diagnostics.Custom
Assembly: PostSharp.Patterns.Common.dll
Syntax
public sealed class CustomLogParameterMode : Enum

Fields

Name Description
Default

Only the parameter value is rendered.

Hidden

The parameter is not rendered.

NameValuePair

The parameter is rendered in name = value form.

value__