PostSharp6.6//API Reference/Post­Sharp.​Patterns.​Diagnostics.​Custom Namespace/Custom­Log­Parameter­Mode Enumeration

CustomLogParameterMode Enumeration

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

Namespace:  PostSharp.Patterns.Diagnostics.Custom
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: (
public enum CustomLogParameterMode
  Member nameValueDescription
Default0 Only the parameter value is rendered.
NameValuePair1 The parameter is rendered in name = value form.
Hidden2 The parameter is not rendered.
See Also