PostSharp6.1/API Reference/Post­Sharp.​Patterns.​Diagnostics Namespace/Custom­Record­Logging­Options Class

CustomRecordLoggingOptions Class

Options for custom logging records. Exposed on the CustomRecordLoggingOptions property.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Diagnostics.CustomRecordLoggingOptions

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

The CustomRecordLoggingOptions type exposes the following members.

Properties
  NameDescription
Public propertyActivityLevel
Gets or sets the default severity for custom messages and for entry and success messages of activities.
Public propertyExceptionLevel
Gets or sets the default severity for failure custom messages.
Public propertyFailureLevel
Gets or sets the LogLevel for failures of custom activities (defined by the 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.
See Also