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.
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.9.11.0 (6.9.11.0)
C#
public sealed class LoggingRoleConfiguration : INotifyPropertyChanged, ILoggerFactory3, ILoggerFactory2
The LoggingRoleConfiguration type exposes the following members.
Name | Description | |
---|---|---|
Backend |
Gets or sets the back-end that implements logging for the given Role.
| |
CustomRecordLoggingOptions | Obsolete.
Gets the options that influence the rendering of log records emitted with the Logger class.
| |
IsBackendSpecified |
Determines whether the Backend has been explicitly specified.
This property is false by default, which means that the Backend property
will evaluate to DefaultBackend.
| |
Role |
Gets the role whose options are represented by the current object.
See LoggingRoles for a list of standard logging roles.
|
Name | Description | |
---|---|---|
GetAbstractSource |
Gets the LoggingAbstractSource for a given Type in the current role.
|
Name | Description | |
---|---|---|
PropertyChanged |
Event raised when a property of this class changes.
|
Name | Description | |
---|---|---|
GetLogSource() | Overloaded.
Gets a Logger for a given role and for the calling type.
(Defined by LoggerFactoryExtensions.) | |
GetLogSource() | Overloaded.
Gets a Logger for a given role and for the calling type.
(Defined by LoggerFactoryExtensions.) | |
GetLogSource(Type) | Overloaded. (Defined by LoggerFactoryExtensions.) | |
GetLogSource(String) | Overloaded.
Gets a LogSource for a given role and sourceName.
(Defined by LoggerFactoryExtensions.) | |
GetLogSource(Type) | Overloaded. (Defined by LoggerFactoryExtensions.) |