Represents the options for custom log records. These options are exposed by the CustomRecordLoggingOptions property.
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public sealed class CustomRecordLoggingOptions : INotifyPropertyChanged, ILogActivityOptionsProperties
| Name | Description |
|---|---|
| ActivityLevel | Gets the default severity for custom messages and for entry and success messages of activities. |
| ExceptionLevel | Gets the default severity for failure custom messages. |
| FailureLevel | Gets the LogLevel for failures of custom activities (defined by the SetFailure(string) method). |
| IncludeSourceLineInfo | Gets or sets a value indicating whether source line information is included in the log output. |
Events
| Name | Description |
|---|---|
| PropertyChanged | Occurs when a property of the current object changes. |