PostSharp 2023.0 / / 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

Namespace:  PostSharp.Patterns.Diagnostics.Transactions.Model
Assembly:  PostSharp.Patterns.Diagnostics.Configuration (in PostSharp.Patterns.Diagnostics.Configuration.dll) Version: 2023.0.3.0 (2023.0.3.0)
public sealed class SourceConfigurationModel

The SourceConfigurationModel type exposes the following members.

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.
This class should not be used in any code. It is only mentioned for the sake of documenting the XML file.
See Also