PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Custom Namespace / ILogger­Factory3 Interface / ILogger­Factory3 Methods / ILogger­Factory3.​Get­Logger Method / ILogger­Factory3.​Get­Logger Method (Type)

ILoggerFactory3.GetLogger Method (Type)

Gets an instance of the ILogger3 for a specific Type.

Namespace:  PostSharp.Patterns.Diagnostics.Custom
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
ILogger3 GetLogger(
	Type type
)

Parameters

type
Type: System.Type
The type of the source code that will emit the records.

Return Value

Type: ILogger3
An instance of the ILogger2 interface for type.
See Also