ILoggerFactory.GetLogger Method |
Namespace: PostSharp.Patterns.Diagnostics.Custom
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.10.10.0 (6.10.10.0)
C#
ILogger GetLogger( string role, Type type )
Parameters
- role
- Type: System.String
The role for which the logger is requested. - type
- Type: System.Type
The type of the source code that will emit the records.
Return Value
Type: ILoggerAn instance of the ILogger interface for role and type.