PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​DiagnosticsCustom­Record­Logging­Options
Open sandboxFocus

CustomRecordLoggingOptions Class

Options for custom logging records. Exposed on the CustomRecordLoggingOptions property.

Inheritance
CustomRecordLoggingOptions
Implements
System.ComponentModel.INotifyPropertyChanged
ILogActivityOptions
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public sealed class CustomRecordLoggingOptions : Object, ILogActivityOptions

Properties

Name Description
ActivityLevel

Gets or sets the default severity for custom messages and for entry and success messages of activities.

ExceptionLevel

Gets or sets the default severity for failure custom messages.

FailureLevel

Gets or sets the LogLevel for failures of custom activities (defined by the SetFailure(String) method).

IncludeSourceLineInfo

Determines whether source line information should be included in the log output.

Events

Name Description
PropertyChanged

Event raised when a property of the current object has changed.