LoggingOptions Class |
Represents the build-time options for logging records.
This class is exposed by DefaultOptions and ExceptionOptions.
The values of this class cannot be changed at run-time because they influence the way PostSharp instruments the code.

Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.5.15.0 (6.5.15.0)

C#
public class LoggingOptions
The LoggingOptions type exposes the following members.

Name | Description | |
---|---|---|
![]() | LoggingOptions |
Initializes a new LoggingOptions.
|

Name | Description | |
---|---|---|
![]() | IncludeGenericParameters |
Not implemented.
|
![]() | IncludeParameterName |
Determines whether the parameter names should be logged. The default value is false.
|
![]() | IncludeParameterType |
Determines whether the parameter types should be logged. The default value is false.
|
![]() | IncludeParameterValue |
Determines whether the parameter values should be logged. The default value is true.
|
![]() | IncludeReturnValue |
Determines whether the return value should be logged. The default value is true.
|
![]() | IncludeThisValue |
Determines whether the value of this argument in an instance method should be logged. The default value is false.
|
![]() | Level |

Name | Description | |
---|---|---|
![]() | Clone |
Returns a clone of the current object.
|
![]() | Freeze |
Prevents the object from being modified.
|
![]() | Merge |
Merges the values of another LoggingOptions object within the current object.
The values of the other object take precendence over the values of the current object.
|
