PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics Namespace / Log­Options Enumeration
LogOptions Enumeration
Specifies the options for logging parameter names, types and values.

Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: (
public enum LogOptions
  Member nameValueDescription
None0 No parameter information included.
IncludeParameterType1 Includes parameter type information.
IncludeParameterName2 Includes parameter name.
IncludeParameterValue4 Includes parameter value, by calling ToString() on the object instance.
IncludeReturnValue8 Includes the return value.
IncludeThisArgument16 Includes the value of this argument in an instance method.
See Also