Options for custom logging records. Exposed on the CustomRecordLoggingOptions property.
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public sealed class CustomRecordLoggingOptions : INotifyPropertyChanged, ILogActivityOptionsProperties
| 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. |