PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics Namespace / Logging­Role­Configuration Class / Logging­Role­Configuration Properties

LoggingRoleConfiguration Properties

The LoggingRoleConfiguration type exposes the following members.

Public propertyBackend
Gets or sets the back-end that implements logging for the given Role.
Public propertyCustomRecordLoggingOptions Obsolete.
Gets the options that influence the rendering of log records emitted with the Logger class.
Public propertyIsBackendSpecified
Determines whether the Backend has been explicitly specified. This property is false by default, which means that the Backend property will evaluate to DefaultBackend.
Public propertyRole
Gets the role whose options are represented by the current object. See LoggingRoles for a list of standard logging roles.
See Also