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

CustomRecordLoggingOptions.FailureLevel Property

Gets or sets the LogLevel for failures of custom activities (defined by the [!:Logger.SetFailure(string)] method).

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 LogLevel FailureLevel { get; set; }

Property Value

Type: LogLevel
See Also