PostSharp 6.9 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Custom Namespace / ILogger Interface / ILogger Properties / ILogger.​Role Property

ILogger.Role Property

Gets the role of records created by this ILogger. A list of standard roles is available in the LoggingRoles class.

Namespace:  PostSharp.Patterns.Diagnostics.Custom
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.9.11.0 (6.9.11.0)
Syntax
C#
string Role { get; }

Property Value

Type: String
See Also