PostSharp 5.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics Namespace / Custom­Record­Logging­Options Class

CustomRecordLoggingOptions Class

Options for custom logging records. Exposed on the [!:RoleLoggingOptions.CustomRecordLoggingOptions] property.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Diagnostics.CustomRecordLoggingOptions

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public sealed class CustomRecordLoggingOptions : INotifyPropertyChanged

The CustomRecordLoggingOptions type exposes the following members.

Properties
  NameDescription
Public propertyActivityLevel
Gets or sets the LogLevel for entry and success of custom activities (defined by the OpenActivity(String) and [!:Logger.SetSuccess(string)] methods).
Public propertyExceptionLevel
Gets or sets the LogLevel for exceptions of custom activities (defined by the [!:Logger.SetException(System.Exception)] method).
Public propertyFailureLevel
Gets or sets the LogLevel for failures of custom activities (defined by the [!:Logger.SetFailure(string)] method).
Public propertyIncludeSourceLineInfo
Determines whether source line information should be included in the log output.
Events
  NameDescription
Public eventPropertyChanged
Event raised when a property of the current object has changed.
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also