PostSharp 6.9 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Transactions.​Model Namespace / Source­Configuration­Model Class

SourceConfigurationModel Class

Type of the source XML element. The parent of the source element is verbosity (see VerbosityConfigurationModel).
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Diagnostics.Transactions.Model.SourceConfigurationModel

Namespace:  PostSharp.Patterns.Diagnostics.Transactions.Model
Assembly:  PostSharp.Patterns.Diagnostics.Configuration (in PostSharp.Patterns.Diagnostics.Configuration.dll) Version: 6.9.7.0 (6.9.7.0)
Syntax
C#
public sealed class SourceConfigurationModel

The SourceConfigurationModel type exposes the following members.

Properties
  NameDescription
Public propertyLevel
Logging level for this source.
Public propertyName
Name of the source, i.e. typically name of the type or namespace. This is a dotted name. This attribute is optional. The default value matches the root namespace.
Public propertyRole
Role of the source. Optional. If non specified, the log level is applied to all non-system sources.
Remarks
This class should not be used in any code. It is only mentioned for the sake of documenting the XML file.
See Also