PostSharp5.0/API Reference/Post­Sharp.​Patterns.​Diagnostics Namespace/Logging­Role­Configuration Class

LoggingRoleConfiguration Class

Role-specific logging options. There is one instance of the LoggingRoleConfiguration class for each logging role. The LoggingRoleConfiguration is a run-time concept, with no build-time meaning.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Diagnostics.LoggingRoleConfiguration

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 sealed class LoggingRoleConfiguration : INotifyPropertyChanged

The LoggingRoleConfiguration type exposes the following members.

Properties
  NameDescription
Public propertyBackend
Gets or sets the back-end that implements logging for the given Role.
Public propertyCustomRecordLoggingOptions
Gets the options that influence the rendering of log records emitted with the Logger class.
Public propertyRole
Gets the role whose options are represented by the current object. See LoggingRoles for a list of standard logging roles.
Events
  NameDescription
Public eventPropertyChanged
Event raised when a property of this class changes.
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also