Logger.GetLogger Method (String, Type) |
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 5.0.55.0 (5.0.55.0)
C#
public static Logger GetLogger( string role, Type type )
Parameters
- role
- Type: System.String
The role name (see LoggingRoles for a list of standard logging roles). - type
- Type: System.Type
The type that will emit the records.
Return Value
Type: LoggerA Logger for role and type.