PostSharpAPI ReferencePost­Sharp.​Patterns.​DiagnosticsLogging­Role­Configuration­RepositoryItem
Open sandboxFocus

LoggingRoleConfigurationRepository.Item Property

Item[String]

Gets the LoggingRoleConfiguration for a given role.

Declaration
public LoggingRoleConfiguration this[string role] { get; }
Parameters
Type Name Description
System.String role

The role name. See LoggingRoles for a list of standard roles.

Property Value
Type Description
LoggingRoleConfiguration

A LoggingRoleConfiguration. If no LoggingRoleConfiguration exist for the specific role, a new instance is created and returned.